inteno-netmodes: name updates

This commit is contained in:
Sukru Senli 2017-04-10 10:05:47 +02:00
parent 1e69e5495f
commit b56f049445
4 changed files with 5 additions and 4 deletions

View file

@ -198,10 +198,10 @@ start_client_listener() {
case "$mode" in
repeater*)
killall -SIGKILL client_listener >/dev/null 2>&1
killall -SIGKILL netmode-client-detect >/dev/null 2>&1
;;
*)
pidof client_listener || /sbin/client_listener &
pidof netmode-client-detect || /sbin/netmode-client-detect &
;;
esac
}
@ -217,11 +217,12 @@ reload_service() {
# set default JUCI page to overview
uci -q set juci.juci.homepage="overview"
uci commit juci
start_client_listener
}
stop_service() {
killall -SIGKILL client_listener >/dev/null 2>&1
killall -SIGKILL netmode-client-detect >/dev/null 2>&1
}
service_triggers()

View file

@ -92,7 +92,7 @@ case "$1" in
json_add_string "status" success
json_dump
repeater_credentials $file >/dev/null 2>&1 &
netmode-conf $file >/dev/null 2>&1 &
;;
esac
;;