mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
17 lines
249 B
Bash
Executable File
17 lines
249 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ -f /tmp/blockip.ipset ];then
|
|
|
|
adbyby_enable=$(uci get adbyby.@adbyby[0].enable)
|
|
|
|
if [ $adbyby_enable -eq 1 ]; then
|
|
if pidof adbyby>/dev/null; then
|
|
/etc/init.d/adbyby reload_rule
|
|
else
|
|
/etc/init.d/adbyby restart
|
|
fi
|
|
fi
|
|
|
|
fi
|
|
|