[luci] do not stop/start avahi-deamon when calling luci-reload with flukso as arg

This commit is contained in:
Bart Van Der Meerssche 2011-04-25 22:12:28 +02:00
parent 6294efa9f9
commit 52959b11be
1 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ avahi_start() {
lock "/var/run/luci-reload"
avahi_stop
[ $1 != flukso ] && avahi_stop
config_load ucitrack
@ -49,6 +49,6 @@ for i in $*; do
config_foreach apply_config $i $i
done
avahi_start
[ $1 != flukso ] && avahi_start
rm -f "/var/run/luci-reload-status"
lock -u "/var/run/luci-reload"