From: Ulrich Dangel Date: Wed, 29 Dec 2010 10:45:11 +0000 (+0100) Subject: Dont run rebuildfstab X-Git-Tag: v0.9.26~1 X-Git-Url: https://git.grml.org/?p=grml-autoconfig.git;a=commitdiff_plain;h=0f70879f32d7a3f2e9554cf9fc6f5e8c4d8cf4d2;hp=c60457aa97e1b22e1d63f0c4b7e70268a173693a;ds=sidebyside Dont run rebuildfstab --- diff --git a/autoconfig.functions b/autoconfig.functions index f30668a..ae3c393 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -1138,19 +1138,6 @@ if checkbootparam 'swap' || checkbootparam 'anyswap' ; then checkbootparam 'anyswap' && export ANYSWAP='yes' || export ANYSWAP="" fi -if checkbootparam 'nofstab' || checkbootparam 'forensic' ; then - ewarn "Skipping /etc/fstab creation as requested on boot commandline." ; eend 0 -else - einfo "Scanning for harddisk partitions and creating /etc/fstab. (Disable this via boot option: nofstab)" - iszsh && setopt nonomatch - if [ -x /usr/sbin/rebuildfstab ] ; then - config_userfstab || fstabuser=grml - /usr/sbin/rebuildfstab -r -u $fstabuser -g $fstabuser ; eend $? - else - ewarn "Command rebuildfstab not found. Install package grml-rebuildfstab." ; eend 1 - fi -fi # checkbootparam nofstab/forensic - # Scan for swap, config, homedir - but only in live-mode if [ -z "$INSTALLED" ] ; then [ -z "$NOSWAP" ] && einfo "Searching for swap partition(s) as requested."