Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 33b279c)
  • Loading branch information
Daniel Dickinson authored and jow- committed Jul 17, 2018
1 parent efff013 commit edbcdef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/luci-base/root/etc/config/ucitrack
Expand Up @@ -29,7 +29,7 @@ config httpd
option init httpd

config fstab
option init fstab
option exec '/sbin/block mount'

config qos
option init qos
Expand Down

0 comments on commit edbcdef

Please sign in to comment.