diff options
Diffstat (limited to 'core/conf/rc.d/iptables')
-rw-r--r-- | core/conf/rc.d/iptables | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/core/conf/rc.d/iptables b/core/conf/rc.d/iptables index c2061db..44f6bb2 100644 --- a/core/conf/rc.d/iptables +++ b/core/conf/rc.d/iptables @@ -3,17 +3,18 @@ case $1 in start) echo "clear all iptables tables" - bash /etc/iptables/ipt-start.sh + #nohup bash /etc/iptables/ipt-start.sh & + nohup bash /etc/iptables/ipt-start.sh & ;; stop) echo "clear all iptables tables" - bash /etc/iptables/ipt-stop.sh + nohup bash /etc/iptables/ipt-stop.sh & ;; restart) $0 start ;; status) - /usr/sbin/iptables -v + /usr/sbin/iptables -L -n -v ;; *) echo "Usage: $0 [start|stop]" |