diff options
author | Joerg Schirottke <master@kanotix.com> | 2016-04-26 18:09:13 +0200 |
---|---|---|
committer | Holger Paradies <retabell@gmx.de> | 2016-04-29 14:00:43 +0200 |
commit | 1727050c6496f72aa4f3c5dfaa3c240be4122bcf (patch) | |
tree | bf644ee4f9d92ca21b462151e8b54a9b11fa6fc9 /backend | |
parent | 2f556f8e9f3c15d5a68d7d2ff80b084418bfcf34 (diff) | |
download | acritoxinstaller-1727050c6496f72aa4f3c5dfaa3c240be4122bcf.zip acritoxinstaller-1727050c6496f72aa4f3c5dfaa3c240be4122bcf.tar.gz |
fix: nofail fstab option only for /media mountpoints
Diffstat (limited to 'backend')
-rw-r--r-- | backend/modules/install_main | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/backend/modules/install_main b/backend/modules/install_main index 91f8b4c..723016d 100644 --- a/backend/modules/install_main +++ b/backend/modules/install_main @@ -85,14 +85,15 @@ EOF elif [ "${mountpoint:0:7}" = "/media/" ]; then # don't run fsck on boot for all /media/* mountpoints fstab_pass=0 + + # skip mounting failed or unavailable partitions when booting + fstab_options="${fstab_options},nofail" + else # don't run fsck on boot if device is a removable disk (if group of /dev/XXX == floppy) [ "$(stat --format "%G" $device)" = "floppy" ] && fstab_pass=0 fi - # skip mounting failed or unavailable partitions when booting - fstab_options="${fstab_options},nofail" - fstab_options="${fstab_options##defaults,}" unset DEV UUID |