diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2005-06-09 10:12:03 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2005-06-09 10:12:03 +0000 |
commit | 707e04b4b5cbf915ab5787081a50475fd763bd8d (patch) | |
tree | 5f6194cd1bd33b1a6bdad430c5452df4fce55dbb /globetrotter/move.pm | |
parent | be2a99c4cbcb63b18802f4513ae34b35fb2f84d4 (diff) | |
download | drakx-707e04b4b5cbf915ab5787081a50475fd763bd8d.tar drakx-707e04b4b5cbf915ab5787081a50475fd763bd8d.tar.gz drakx-707e04b4b5cbf915ab5787081a50475fd763bd8d.tar.bz2 drakx-707e04b4b5cbf915ab5787081a50475fd763bd8d.tar.xz drakx-707e04b4b5cbf915ab5787081a50475fd763bd8d.zip |
(install2::configMove) workaround init reading inittab before any.pm alters it
Diffstat (limited to 'globetrotter/move.pm')
-rw-r--r-- | globetrotter/move.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/globetrotter/move.pm b/globetrotter/move.pm index ebc7a8fb5..90bba3b9a 100644 --- a/globetrotter/move.pm +++ b/globetrotter/move.pm @@ -131,7 +131,11 @@ Continue at your own risk."). formatError($@) || $@ ]) if $@; } run_program::run('killall', 'Xorg'); output_p("$::prefix/etc/rpm/macros", "%_install_langs all\n"); - system("service dm on"); + # workaround init reading inittab before any.pm alters it: + if ($::o->{autologin}) { + run_program::run('chkconfig', 'dm', 'on'); + run_program::run('telinit', 'Q'); + } c::_exit(0); } |