summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-06-09 10:11:42 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-06-09 10:11:42 +0000
commitbb4aaaeacfd5286b71668a0c9ecc949b1b322684 (patch)
tree4290511f32460a89b67ad92980aa0d195d898357
parent9c4cd53d8187dd2f64647f2a38158a979557bd17 (diff)
downloaddrakx-backup-do-not-use-bb4aaaeacfd5286b71668a0c9ecc949b1b322684.tar
drakx-backup-do-not-use-bb4aaaeacfd5286b71668a0c9ecc949b1b322684.tar.gz
drakx-backup-do-not-use-bb4aaaeacfd5286b71668a0c9ecc949b1b322684.tar.bz2
drakx-backup-do-not-use-bb4aaaeacfd5286b71668a0c9ecc949b1b322684.tar.xz
drakx-backup-do-not-use-bb4aaaeacfd5286b71668a0c9ecc949b1b322684.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..b5d466efd 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') if $::o->{autologin};
+ }
c::_exit(0);
}