summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/root/etc/init.d
diff options
context:
space:
mode:
Diffstat (limited to 'modules/luci-base/root/etc/init.d')
-rwxr-xr-xmodules/luci-base/root/etc/init.d/ucitrack6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/luci-base/root/etc/init.d/ucitrack b/modules/luci-base/root/etc/init.d/ucitrack
index c7ceb32905..57ac11857f 100755
--- a/modules/luci-base/root/etc/init.d/ucitrack
+++ b/modules/luci-base/root/etc/init.d/ucitrack
@@ -41,10 +41,10 @@ register_trigger() {
fi
for affected in $affects; do
- logger -t "ucitrack" "Setting up /etc/config/$config reload dependency on /etc/config/$affected"
- procd_add_config_trigger "config.change" "$affected" \
+ logger -t "ucitrack" "Setting up /etc/config/$affected reload dependency on /etc/config/$config"
+ procd_add_config_trigger "config.change" "$config" \
ubus call service event \
- "$(printf '{"type":"config.change","data":{"package":"%s"}}' $config)"
+ "$(printf '{"type":"config.change","data":{"package":"%s"}}' $affected)"
done
}