Browse Source

openwrt: reload only on ifup/ifdown

pull/98/head
bol-van 3 years ago
parent
commit
8c4102eaef
  1. 2
      init.d/openwrt/90-zapret

2
init.d/openwrt/90-zapret

@ -23,7 +23,7 @@ check_need_to_reload_tpws6()
}
[ -n "$INTERFACE" -a -n "$ACTION" -a -x "$ZAPRET" ] && "$ZAPRET" enabled && {
[ -n "$INTERFACE" ] && [ "$ACTION" = ifup -o "$ACTION" = ifdown ] && [ -x "$ZAPRET" ] && "$ZAPRET" enabled && {
SCRIPT=$(readlink "$ZAPRET")
if [ -n "$SCRIPT" ]; then
EXEDIR=$(dirname "$SCRIPT")

Loading…
Cancel
Save