|
|
- #!/bin/sh /etc/rc.common
-
- START=60
- USE_PROCD=1
-
- start_service() {
- procd_open_instance
-
- procd_set_param command /usr/lib/reload-neighbor-reports.lua
-
- procd_set_param stdout 1
- procd_set_param stderr 1
-
- procd_close_instance
- }
-
- reload_service() {
- stop
- start
- }
-
- service_triggers() {
- procd_add_raw_trigger "hostapd.*" 3000 /etc/init.d/static-neighbor-reports restart
- }
|