[luci] we do have to stop/start the avahi-daemon when saving the flukso page
This commit is contained in:
parent
6345a9c97c
commit
f0fa58daac
|
@ -41,7 +41,7 @@ avahi_start() {
|
||||||
|
|
||||||
|
|
||||||
lock "/var/run/luci-reload"
|
lock "/var/run/luci-reload"
|
||||||
[ $1 != flukso ] && avahi_stop
|
avahi_stop
|
||||||
|
|
||||||
config_load ucitrack
|
config_load ucitrack
|
||||||
|
|
||||||
|
@ -49,6 +49,6 @@ for i in $*; do
|
||||||
config_foreach apply_config $i $i
|
config_foreach apply_config $i $i
|
||||||
done
|
done
|
||||||
|
|
||||||
[ $1 != flukso ] && avahi_start
|
avahi_start
|
||||||
rm -f "/var/run/luci-reload-status"
|
rm -f "/var/run/luci-reload-status"
|
||||||
lock -u "/var/run/luci-reload"
|
lock -u "/var/run/luci-reload"
|
||||||
|
|
Loading…
Reference in New Issue