mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
c149813371
Signed-off-by: David Bauer <mail@david-bauer.net>
25 lines
371 B
Bash
25 lines
371 B
Bash
#!/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
|
|
}
|