From ee6ea1a4e2ed9f5f7d989879c968a8780f994f8b Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 16 Mar 2004 11:22:54 +0000 Subject: choose wether to use supermount is now based on variable SUPERMOUNT in /etc/sysconfig/dynamic --- perl-install/standalone/drakupdate_fstab | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/standalone/drakupdate_fstab b/perl-install/standalone/drakupdate_fstab index 8bc72aacc..c015eafb8 100755 --- a/perl-install/standalone/drakupdate_fstab +++ b/perl-install/standalone/drakupdate_fstab @@ -134,7 +134,7 @@ sub main { print STDERR "Already in fstab\n" if $::testing; return; } - my $useSupermount = cat_('/etc/fstab') =~ /supermount/; + my $useSupermount = ${{ getVarsFromSh('/etc/sysconfig/dynamic') }}{SUPERMOUNT} eq 'no' ? '' : 'magicdev'; set_options($part, $useSupermount); set_mount_point($part, $fstab) or return; -- cgit v1.2.1