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>
This commit is contained in:
Daniel Dickinson 2017-01-15 21:20:44 -05:00
parent d732836063
commit 33b279c475

View 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