From cfa3f9fc2c5d50ba6cea860721a415f2350c3bb3 Mon Sep 17 00:00:00 2001 From: Teddysun Date: Sun, 16 Feb 2014 15:06:16 +0800 Subject: [PATCH] Auto Install Shadowsocks(Python) for CentOS --- shadowsocks.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shadowsocks.sh b/shadowsocks.sh index 9354a87..3c547a4 100644 --- a/shadowsocks.sh +++ b/shadowsocks.sh @@ -106,7 +106,7 @@ function iptables_set(){ if [ $? -eq 0 ]; then /sbin/iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 8989 -j ACCEPT /etc/rc.d/init.d/iptables save - /sbin/service iptables restart + /etc/init.d/iptables restart fi }