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.

19 lines
312 B

  1. #!/bin/sh /etc/rc.common
  2. # Copyright (C) 2010-2011 OpenWrt.org
  3. START=45
  4. SERVICE_USE_PID=1
  5. SERVICE_PID_FILE=/var/run/foolsm.pid
  6. start() {
  7. service_start /usr/sbin/foolsm -c /etc/foolsm/foolsm.conf -p $SERVICE_PID_FILE
  8. }
  9. stop() {
  10. service_stop /usr/sbin/foolsm
  11. }
  12. reload() {
  13. service_reload /usr/sbin/foolsm
  14. }