Fix BUG: redirect rule not set after restart
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh /etc/rc.common
|
#!/bin/sh /etc/rc.common
|
||||||
# Copyright (C) 2018 Nick Peng (pymumu@gmail.com)
|
# Copyright (C) 2018 Nick Peng (pymumu@gmail.com)
|
||||||
|
|
||||||
START=90
|
START=99
|
||||||
SERVICE_USE_PID=1
|
SERVICE_USE_PID=1
|
||||||
SERVICE_WRITE_PID=1
|
SERVICE_WRITE_PID=1
|
||||||
SERVICE_DAEMONIZE=1
|
SERVICE_DAEMONIZE=1
|
||||||
@@ -30,6 +30,11 @@ clear_iptable()
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
service_triggers() {
|
||||||
|
procd_add_reload_trigger firewall
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
conf_append()
|
conf_append()
|
||||||
{
|
{
|
||||||
echo "$1 $2" >> $SMARTDNS_CONF_TMP
|
echo "$1 $2" >> $SMARTDNS_CONF_TMP
|
||||||
|
|||||||
Reference in New Issue
Block a user