Skip to content

Commit ff3fed5

Browse files
committed
Update inotify.sh
1 parent e009e01 commit ff3fed5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/inotify.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if [ "${monitor_file}" = "disable" ]; then
1818
sed -i "s/description=\[.*\]/description=\[😎AdGuardHome is running but ⛓️‍💥iptables is disabled\]/" "$MOD_PATH/module.prop"
1919
fi
2020
elif [ "${events}" = "n" ]; then
21-
if [ -f "/data/adb/modules/AdGuardHome/disable_iptable" ]; then
21+
if [ ! -f "/data/adb/modules/AdGuardHome/disable_iptable" ]; then
2222
$SCRIPT_DIR/iptables.sh disable
2323
fi
2424
$SCRIPT_DIR/service.sh stop

0 commit comments

Comments
 (0)