summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-09-16 16:10:32 +0000
committerOlivier Blin <oblin@mandriva.org>2005-09-16 16:10:32 +0000
commitda188129369fdbff0dfb3d280255dfba91d736b4 (patch)
tree1571ecec4f86044dd54b41227a8aafd842c8c414 /perl-install/install_any.pm
parent034c6d8da3c3c3144ad29ceb05926858f2f67ff6 (diff)
downloaddrakx-backup-do-not-use-da188129369fdbff0dfb3d280255dfba91d736b4.tar
drakx-backup-do-not-use-da188129369fdbff0dfb3d280255dfba91d736b4.tar.gz
drakx-backup-do-not-use-da188129369fdbff0dfb3d280255dfba91d736b4.tar.bz2
drakx-backup-do-not-use-da188129369fdbff0dfb3d280255dfba91d736b4.tar.xz
drakx-backup-do-not-use-da188129369fdbff0dfb3d280255dfba91d736b4.zip
automatically configure DSL connection on installation from DSL
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 890e6b4c3..636825edd 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -290,6 +290,12 @@ sub dont_run_directly_stage2() {
readlink("/usr/bin/runinstall2") eq "runinstall2.sh";
}
+#- FIXME: use it whenever possible once unfrozen
+sub is_network_install {
+ my ($o) = @_;
+ member($o->{method}, qw(ftp http nfs));
+}
+
sub start_i810fb() {
my ($vga) = cat_('/proc/cmdline') =~ /vga=(\S+)/;