From b215bbac823721af33a53b06f4a11341c3d88f84 Mon Sep 17 00:00:00 2001 From: Teddysun Date: Mon, 16 Jun 2014 20:45:11 +0800 Subject: [PATCH] Optimize uninstall function --- shadowsocks.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/shadowsocks.sh b/shadowsocks.sh index f027dc3..4ed03bf 100644 --- a/shadowsocks.sh +++ b/shadowsocks.sh @@ -190,6 +190,7 @@ function uninstall_shadowsocks(){ fi done fi + chkconfig --del shadowsocks # delete config file rm -f /etc/shadowsocks.json rm -f /var/run/shadowsocks.pid