mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
static-neighbor-reports: add package
Signed-off-by: David Bauer <mail@david-bauer.net>
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
#!/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
|
||||
}
|
||||
Reference in New Issue
Block a user