summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base
diff options
context:
space:
mode:
authorjjm2473 <1129525450@qq.com>2020-03-23 00:58:46 +0800
committerjjm2473 <1129525450@qq.com>2020-03-23 01:05:31 +0800
commit97780a9ce158097e17ed7842ae01e765d5da4955 (patch)
tree4b657aebe1c82b963309012565efc192bcc3b65b /modules/luci-base
parent63d357123ffafd135760d9b0922a576639cf4201 (diff)
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>
Diffstat (limited to 'modules/luci-base')
-rwxr-xr-xmodules/luci-base/root/etc/init.d/ucitrack2
1 files changed, 1 insertions, 1 deletions
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