}
}
+ if ($cmdline =~ m/console=(\S+)[\s\n]/i) {
+ $cfg->{console} = $1;
+ }
+
return $cfg;
}
cidr => undef,
gateway => undef,
dns => undef,
+ console => undef,
};
$initial = parse_kernel_cmdline($initial);
sub set_dns { set_key('dns', $_[0]); }
sub get_dns { return get('dns'); }
+sub set_console { set_key('console', $_[0]); }
+sub get_console { return get('console'); }
+
+
1;