From b4e4f9467faefaaec68d0272f6fa776985810473 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Wed, 16 Mar 2005 11:45:15 +0000 Subject: Allow to specify "suppl" and "askmedia" in the kernel command-line as well as in the hdlists file --- perl-install/install2.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'perl-install/install2.pm') diff --git a/perl-install/install2.pm b/perl-install/install2.pm index bd3d92b18..49f6b6b10 100644 --- a/perl-install/install2.pm +++ b/perl-install/install2.pm @@ -361,7 +361,7 @@ sub main { my ($cfg, $patch, @auto); my %cmdline = map { - my ($n, $v) = split '='; + my ($n, $v) = split /=/; $n => $v || 1; } split ' ', cat_("/proc/cmdline"); @@ -417,6 +417,8 @@ sub main { updatemodules => sub { $o->{updatemodules} = 1 }, move => sub { $::move = 1 }, globetrotter => sub { $::move = 1; $::globetrotter = 1 }, + suppl => sub { $o->{supplmedia} = 1 }, + askmedia => sub { $o->{askmedia} = 1 }, }}{lc $n}; &$f if $f; } %cmdline; -- cgit v1.2.1