luci-base: Avoid block umount on fstab apply 952/head
authorDaniel Dickinson <lede@cshore.thecshore.com>
Mon, 16 Jan 2017 02:20:44 +0000 (21:20 -0500)
committerDaniel Dickinson <lede@cshore.thecshore.com>
Mon, 16 Jan 2017 02:41:18 +0000 (21:41 -0500)
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>
modules/luci-base/root/etc/config/ucitrack

index c3741ba7802e45e3dc897d81841dec8e26bb83f6..17946f5645ae650bd51616ea085235ca37cb2285 100644 (file)
@@ -29,7 +29,7 @@ config httpd
        option init httpd
 
 config fstab
-       option init fstab
+       option exec '/sbin/block mount'
 
 config qos
        option init qos