From: Daniel Dickinson Date: Mon, 16 Jan 2017 02:20:44 +0000 (-0500) Subject: luci-base: Avoid block umount on fstab apply X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=refs%2Fpull%2F952%2Fhead;p=oweals%2Fluci.git 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 --- 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