summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakupdate_fstab
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-03-16 11:22:54 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-03-16 11:22:54 +0000
commitee6ea1a4e2ed9f5f7d989879c968a8780f994f8b (patch)
treed4b60852520194dab8f57b7e116d628bda1783c1 /perl-install/standalone/drakupdate_fstab
parentf251b3b195f51eb274e1634c131e284110c8acbc (diff)
downloaddrakx-ee6ea1a4e2ed9f5f7d989879c968a8780f994f8b.tar
drakx-ee6ea1a4e2ed9f5f7d989879c968a8780f994f8b.tar.gz
drakx-ee6ea1a4e2ed9f5f7d989879c968a8780f994f8b.tar.bz2
drakx-ee6ea1a4e2ed9f5f7d989879c968a8780f994f8b.tar.xz
drakx-ee6ea1a4e2ed9f5f7d989879c968a8780f994f8b.zip
choose wether to use supermount is now based on variable SUPERMOUNT in /etc/sysconfig/dynamic
Diffstat (limited to 'perl-install/standalone/drakupdate_fstab')
-rwxr-xr-xperl-install/standalone/drakupdate_fstab2
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;