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

  1. #!/bin/sh /etc/rc.common
  2. USE_PROCD=1
  3. START=95
  4. BIN=/usr/bin/wifidog-ng
  5. start_service() {
  6. modprobe wifidog-ng
  7. procd_open_instance
  8. procd_set_param command $BIN
  9. procd_set_param respawn
  10. procd_close_instance
  11. }
  12. stop_service() {
  13. rmmod wifidog-ng
  14. }