summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDaniel Dickinson <lede@cshore.thecshore.com>2017-01-15 21:20:44 -0500
committerDaniel Dickinson <lede@cshore.thecshore.com>2017-01-15 21:41:18 -0500
commit33b279c4752ac6df3d911edb6e1fb60b656bc122 (patch)
treef156f94ba05716d05ad9398e8bddf5064216520a
parentd7328360632d7fbf5fd4006b4172a9fe9861d838 (diff)
luci-base: Avoid block umount on fstab apply
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>
-rw-r--r--modules/luci-base/root/etc/config/ucitrack2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/root/etc/config/ucitrack b/modules/luci-base/root/etc/config/ucitrack
index c3741ba78..17946f564 100644
--- 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