luci-base: Avoid block umount on fstab apply
authorDaniel Dickinson <lede@cshore.thecshore.com>
Mon, 16 Jan 2017 02:20:44 +0000 (21:20 -0500)
committerJo-Philipp Wich <jo@mein.io>
Tue, 17 Jul 2018 18:47:48 +0000 (20:47 +0200)
commitedbcdef15cb2f3496fc2536837f72ee7007bf4d5
treebc7335d41c39463c72c1d493db2eb6b059b04658
parentefff0139beaa09be90a593e4b34d6e9d390f2d42
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>
(cherry picked from commit 33b279c4752ac6df3d911edb6e1fb60b656bc122)
modules/luci-base/root/etc/config/ucitrack