summaryrefslogtreecommitdiffstats
path: root/globetrotter
diff options
context:
space:
mode:
Diffstat (limited to 'globetrotter')
-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);
}