summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-06-09 10:12:03 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-06-09 10:12:03 +0000
commit707e04b4b5cbf915ab5787081a50475fd763bd8d (patch)
tree5f6194cd1bd33b1a6bdad430c5452df4fce55dbb
parentbe2a99c4cbcb63b18802f4513ae34b35fb2f84d4 (diff)
downloaddrakx-backup-do-not-use-707e04b4b5cbf915ab5787081a50475fd763bd8d.tar
drakx-backup-do-not-use-707e04b4b5cbf915ab5787081a50475fd763bd8d.tar.gz
drakx-backup-do-not-use-707e04b4b5cbf915ab5787081a50475fd763bd8d.tar.bz2
drakx-backup-do-not-use-707e04b4b5cbf915ab5787081a50475fd763bd8d.tar.xz
drakx-backup-do-not-use-707e04b4b5cbf915ab5787081a50475fd763bd8d.zip
(install2::configMove) workaround init reading inittab before any.pm alters it
-rw-r--r--globetrotter/move.pm6
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);
}