From 97780a9ce158097e17ed7842ae01e765d5da4955 Mon Sep 17 00:00:00 2001 From: jjm2473 <1129525450@qq.com> Date: Mon, 23 Mar 2020 00:58:46 +0800 Subject: ucitrack: fix bug for exec with params In file `/etc/config/ucitrack` ``` config fstab option exec '/sbin/block mount' ``` `/sbin/block mount` never be called after fstab changed. Signed-off-by: jjm2473 <1129525450@qq.com> --- modules/luci-base/root/etc/init.d/ucitrack | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/luci-base/root/etc/init.d') diff --git a/modules/luci-base/root/etc/init.d/ucitrack b/modules/luci-base/root/etc/init.d/ucitrack index 27d34fa297..c7ceb32905 100755 --- a/modules/luci-base/root/etc/init.d/ucitrack +++ b/modules/luci-base/root/etc/init.d/ucitrack @@ -35,7 +35,7 @@ register_trigger() { ;; *) logger -t "ucitrack" "Setting up non-init /etc/config/$config reload handler: $exec" - procd_add_config_trigger "config.change" "$config" "$exec" + procd_add_config_trigger "config.change" "$config" $exec ;; esac fi -- cgit v1.2.3