projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63d3571
)
ucitrack: fix bug for exec with params
3778/head
author
jjm2473
<1129525450@qq.com>
Sun, 22 Mar 2020 16:58:46 +0000
(
00:58
+0800)
committer
jjm2473
<1129525450@qq.com>
Sun, 22 Mar 2020 17:05:31 +0000
(
01:05
+0800)
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
patch
|
blob
|
history
diff --git
a/modules/luci-base/root/etc/init.d/ucitrack
b/modules/luci-base/root/etc/init.d/ucitrack
index 27d34fa2971995d96652567efb80db71d9819c7b..c7ceb32905babed000110f7673633486885a8d85 100755
(executable)
--- 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