diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-12-02 17:33:54 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-12-02 17:33:54 +0000 |
commit | fcbb83d441156725da382c030d75ab91b148ac87 (patch) | |
tree | d2dd94870cca3af168f9b4130f3a06081ad02fe9 /perl-install/any.pm | |
parent | 22e857958eeb3ee4a4b1843268992aa8814ef7e4 (diff) | |
download | drakx-fcbb83d441156725da382c030d75ab91b148ac87.tar drakx-fcbb83d441156725da382c030d75ab91b148ac87.tar.gz drakx-fcbb83d441156725da382c030d75ab91b148ac87.tar.bz2 drakx-fcbb83d441156725da382c030d75ab91b148ac87.tar.xz drakx-fcbb83d441156725da382c030d75ab91b148ac87.zip |
any::runlevel() doesnt need the prefix anymore
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r-- | perl-install/any.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm index 0b7debaf8..b61cb2849 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -880,8 +880,8 @@ sub set_login_serial_console { sub runlevel { - my ($prefix, $runlevel) = @_; - my $f = "$prefix/etc/inittab"; + 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; |