From 52959b11bea3064589d2d250c5e4180e0c129f15 Mon Sep 17 00:00:00 2001 From: Bart Van Der Meerssche Date: Mon, 25 Apr 2011 22:12:28 +0200 Subject: [PATCH] [luci] do not stop/start avahi-deamon when calling luci-reload with flukso as arg --- mote/v2/openwrt/package/luci/libs/uci/root/sbin/luci-reload | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mote/v2/openwrt/package/luci/libs/uci/root/sbin/luci-reload b/mote/v2/openwrt/package/luci/libs/uci/root/sbin/luci-reload index 0a6d2cf..9e48d52 100755 --- a/mote/v2/openwrt/package/luci/libs/uci/root/sbin/luci-reload +++ b/mote/v2/openwrt/package/luci/libs/uci/root/sbin/luci-reload @@ -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"