summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2012-04-30 13:27:38 +0000
committerThomas Backlund <tmb@mageia.org>2012-04-30 13:27:38 +0000
commit1032ee2e8790c53b6a6590a6faf2c5788b21223d (patch)
tree14558f40082864b900ed2d570e86a5a05a38f25e
parent025e40a9f590510f8a3826b42384da01d8c6999f (diff)
downloaddraklive-config-1032ee2e8790c53b6a6590a6faf2c5788b21223d.tar
draklive-config-1032ee2e8790c53b6a6590a6faf2c5788b21223d.tar.gz
draklive-config-1032ee2e8790c53b6a6590a6faf2c5788b21223d.tar.bz2
draklive-config-1032ee2e8790c53b6a6590a6faf2c5788b21223d.tar.xz
draklive-config-1032ee2e8790c53b6a6590a6faf2c5788b21223d.zip
add back inittab changes so it matches systemd
-rw-r--r--config/auto_inst.cfg.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/auto_inst.cfg.pl b/config/auto_inst.cfg.pl
index 2bcc84a..7f68fa9 100644
--- a/config/auto_inst.cfg.pl
+++ b/config/auto_inst.cfg.pl
@@ -275,6 +275,8 @@ $o = {
'postInstall' => join(";",
# systemd boots by default to multiuser.target (old init 3), so change to graphical (old init 5)
"ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target",
+ # have inittab match systemd defaulting to init 5
+ "perl -pi -e 's/^id:3:initdefault:/id:5:initdefault:/' '/etc/inittab'",
#- FIXME: in any::set_autologin, unlink if gdm/kdm conf file and binary exist
if_($has_xfce || $has_lxde, "rm -f /etc/sysconfig/autologin"),
if_($distro_theme eq 'Liveusb-Rw',