diff options
Diffstat (limited to 'init.d')
-rw-r--r-- | init.d/localmount.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/init.d/localmount.in b/init.d/localmount.in index a2b7a8a0..cfc841a7 100644 --- a/init.d/localmount.in +++ b/init.d/localmount.in @@ -39,6 +39,11 @@ start() rc=$? if [ "$RC_UNAME" != Linux ]; then rc=0 + elif yesno "${ignore_mount_errors:-NO}"; then + if [ $rc -ne 0 ]; then + ewarn "localmount: errors detected, but ignored" + fi + rc=0 fi return $rc } |