mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-07-27 10:31:38 +08:00
Update luci-app-passwall.patch
This commit is contained in:
parent
cfcd70695f
commit
13e59104bd
2
.github/diy/patches/luci-app-passwall.patch
vendored
2
.github/diy/patches/luci-app-passwall.patch
vendored
@ -477,7 +477,7 @@ index 000000000000..a00fff9c79b3
|
||||
|
||||
+start_adblock() {
|
||||
+ [ "$(config_t_get global adblock 0)" != "1" ] && {
|
||||
+ [ -s $RULES_PATH/my_block_host ] && ln -sf $RULES_PATH/my_block_host $RULES_PATH/block_host || echo "" >$RULES_PATH/block_host
|
||||
+ [ -s $RULES_PATH/my_block_host ] && ln -sf $RULES_PATH/my_block_host $RULES_PATH/block_host || > $RULES_PATH/block_host
|
||||
+ return
|
||||
+ }
|
||||
+ "$APP_PATH/adblock.sh" > /dev/null 2>&1 &
|
||||
|
||||
Loading…
Reference in New Issue
Block a user