Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

luci-base: Avoid block umount on fstab apply #952

Merged
merged 1 commit into from Jul 16, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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>
  • Loading branch information
Daniel Dickinson committed Jan 16, 2017
commit 33b279c4752ac6df3d911edb6e1fb60b656bc122
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