diff options
author | Thomas Backlund <tmb@mageia.org> | 2012-04-30 13:10:23 +0000 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2012-04-30 13:10:23 +0000 |
commit | 025e40a9f590510f8a3826b42384da01d8c6999f (patch) | |
tree | b1768a3b9a8d432f37b311ca9f455d8238ddc4b5 | |
parent | 394662e35ead4a960fbd703b0bb453b2bbe99736 (diff) | |
download | draklive-config-025e40a9f590510f8a3826b42384da01d8c6999f.tar draklive-config-025e40a9f590510f8a3826b42384da01d8c6999f.tar.gz draklive-config-025e40a9f590510f8a3826b42384da01d8c6999f.tar.bz2 draklive-config-025e40a9f590510f8a3826b42384da01d8c6999f.tar.xz draklive-config-025e40a9f590510f8a3826b42384da01d8c6999f.zip |
set systemd to boot to graphical.target
-rw-r--r-- | config/auto_inst.cfg.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/auto_inst.cfg.pl b/config/auto_inst.cfg.pl index feae1c5..2bcc84a 100644 --- a/config/auto_inst.cfg.pl +++ b/config/auto_inst.cfg.pl @@ -273,7 +273,8 @@ $o = { 'match_all_hardware' => 1, 'excludedocs' => 0, 'postInstall' => join(";", - "perl -pi -e 's/^id:3:initdefault:/id:5:initdefault:/' '/etc/inittab'", + # 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", #- 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', |