@ -14,6 +14,7 @@ stamp-h1
*.json
debian/shadowsocks.debhelper.log
debian/shadowsocks/
debian/patches/
# Do not edit the following section
# Edit Compile Debug Document Distribute
@ -0,0 +1,16 @@
#!/bin/sh /etc/rc.common
# Copyright (C) 2006-2011 OpenWrt.org
START=95
STOP=95
SERVICE_USE_PID=1
start() {
service_start /usr/bin/ss-local -c /etc/config/shadowsocks.json -f /var/run/shadowsocks.pid
}
stop() {
service_stop /usr/bin/ss-local