From 97780a9ce158097e17ed7842ae01e765d5da4955 Mon Sep 17 00:00:00 2001 From: jjm2473 <1129525450@qq.com> Date: Mon, 23 Mar 2020 00:58:46 +0800 Subject: [PATCH] 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(-) diff --git a/modules/luci-base/root/etc/init.d/ucitrack b/modules/luci-base/root/etc/init.d/ucitrack index 27d34fa29..c7ceb3290 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 -- 2.25.1