projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efff013
)
luci-base: Avoid block umount on fstab apply
author
Daniel Dickinson
<lede@cshore.thecshore.com>
Mon, 16 Jan 2017 02:20:44 +0000
(21:20 -0500)
committer
Jo-Philipp Wich
<jo@mein.io>
Tue, 17 Jul 2018 18:47:48 +0000
(20:47 +0200)
Default behaviour of changes to fstab (Mount Points) was
to use /etc/init.d/fstab restart, however this unmounts
filesystems via block umount which can cause the device
to fail, so replace the initscript call with an exec
of 'block mount'.
Signed-off-by: Daniel Dickinson <lede@cshore.thecshore.com>
(cherry picked from commit
33b279c4752ac6df3d911edb6e1fb60b656bc122
)
modules/luci-base/root/etc/config/ucitrack
patch
|
blob
|
history
diff --git
a/modules/luci-base/root/etc/config/ucitrack
b/modules/luci-base/root/etc/config/ucitrack
index 1d4d110f2a9c2563239ed450eeb634ae52a9c44f..e63986630cc22c7f1fcbc99187b03092569eb843 100644
(file)
--- a/
modules/luci-base/root/etc/config/ucitrack
+++ b/
modules/luci-base/root/etc/config/ucitrack
@@
-29,7
+29,7
@@
config httpd
option init httpd
config fstab
- option
init fstab
+ option
exec '/sbin/block mount'
config qos
option init qos