From 707e04b4b5cbf915ab5787081a50475fd763bd8d Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 9 Jun 2005 10:12:03 +0000 Subject: (install2::configMove) workaround init reading inittab before any.pm alters it --- globetrotter/move.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'globetrotter') 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); } -- cgit v1.2.1