Optimize uninstall function

This commit is contained in:
Teddysun 2014-06-16 20:45:11 +08:00
parent c184f81883
commit b215bbac82

View File

@ -190,6 +190,7 @@ function uninstall_shadowsocks(){
fi fi
done done
fi fi
chkconfig --del shadowsocks
# delete config file # delete config file
rm -f /etc/shadowsocks.json rm -f /etc/shadowsocks.json
rm -f /var/run/shadowsocks.pid rm -f /var/run/shadowsocks.pid