mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
add reload
This commit is contained in:
parent
1d32052f55
commit
d6559c2b75
1 changed files with 14 additions and 0 deletions
|
@ -8,6 +8,20 @@ STOP=50
|
||||||
PROG=/usr/sbin/dawn
|
PROG=/usr/sbin/dawn
|
||||||
NAME=dawn
|
NAME=dawn
|
||||||
|
|
||||||
|
reload_service()
|
||||||
|
{
|
||||||
|
if service_running; then
|
||||||
|
ubus call dawn reload_config
|
||||||
|
else
|
||||||
|
start
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
service_triggers()
|
||||||
|
{
|
||||||
|
procd_add_reload_trigger "dawn"
|
||||||
|
}
|
||||||
|
|
||||||
start_service()
|
start_service()
|
||||||
{
|
{
|
||||||
local _tcp_buffer
|
local _tcp_buffer
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue