You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
265 B

  1. #!/bin/sh /etc/rc.common
  2. # Copyright (C) 2006-2011 OpenWrt.org
  3. START=95
  4. STOP=95
  5. SERVICE_USE_PID=1
  6. start() {
  7. service_start /usr/bin/ss-local -c /etc/config/shadowsocks.json -f /var/run/shadowsocks.pid
  8. }
  9. stop() {
  10. service_stop /usr/bin/ss-local
  11. }