diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-12-29 12:06:39 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-12-29 12:06:39 +0000 |
commit | aa5858b87ab4794513743166a4a6f14cee0d0383 (patch) | |
tree | 5c4e21be32a0cbe6f5c98ea8e7eaee17c3b6668c /perl-install/any.pm | |
parent | 8dd9ef7b5577c53d34568c32541edd17fe7400f5 (diff) | |
download | drakx-backup-do-not-use-aa5858b87ab4794513743166a4a6f14cee0d0383.tar drakx-backup-do-not-use-aa5858b87ab4794513743166a4a6f14cee0d0383.tar.gz drakx-backup-do-not-use-aa5858b87ab4794513743166a4a6f14cee0d0383.tar.bz2 drakx-backup-do-not-use-aa5858b87ab4794513743166a4a6f14cee0d0383.tar.xz drakx-backup-do-not-use-aa5858b87ab4794513743166a4a6f14cee0d0383.zip |
move any::runlevel() to Xconfig::various::runlevel()
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r-- | perl-install/any.pm | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm index 62de800ed..ab492be35 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -688,18 +688,6 @@ sub set_login_serial_console { substInFile { s/^s$port:.*//; $_ = $line if eof } "$::prefix/etc/inittab"; } - -sub runlevel { - my ($runlevel) = @_; - my $f = "$::prefix/etc/inittab"; - -r $f or log::l("missing inittab!!!"), return; - if ($runlevel) { - substInFile { s/^id:\d:initdefault:\s*$/id:$runlevel:initdefault:\n/ } $f if !$::testing; - } else { - cat_($f) =~ /^id:(\d):initdefault:\s*$/ && $1; - } -} - sub report_bug { my ($prefix, @other) = @_; |