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
264 B

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