diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-03-16 11:22:54 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-03-16 11:22:54 +0000 |
commit | ee6ea1a4e2ed9f5f7d989879c968a8780f994f8b (patch) | |
tree | d4b60852520194dab8f57b7e116d628bda1783c1 | |
parent | f251b3b195f51eb274e1634c131e284110c8acbc (diff) | |
download | drakx-backup-do-not-use-ee6ea1a4e2ed9f5f7d989879c968a8780f994f8b.tar drakx-backup-do-not-use-ee6ea1a4e2ed9f5f7d989879c968a8780f994f8b.tar.gz drakx-backup-do-not-use-ee6ea1a4e2ed9f5f7d989879c968a8780f994f8b.tar.bz2 drakx-backup-do-not-use-ee6ea1a4e2ed9f5f7d989879c968a8780f994f8b.tar.xz drakx-backup-do-not-use-ee6ea1a4e2ed9f5f7d989879c968a8780f994f8b.zip |
choose wether to use supermount is now based on variable SUPERMOUNT in /etc/sysconfig/dynamic
-rwxr-xr-x | perl-install/standalone/drakupdate_fstab | 2 |
1 files changed, 1 insertions, 1 deletions
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; |