2 # Filename: ${GRML_FAI_CONFIG}/config/scripts/GRMLBASE/15-initsetup
3 # Purpose: configure init system for the live-system
4 # Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
5 # Bug-Reports: see http://grml.org/bugs/
6 # License: This file is licensed under the GPL v2 or any later version.
7 ################################################################################
14 fcopy -M -i -B -v -r /etc/systemd
16 echo "Enabling user '$USERNAME' for autologin"
17 sed -i "s/\$USERNAME/$USERNAME/" "$target"/etc/systemd/system/getty@tty*.service.d/override.conf
19 # workaround for #992847 to workaround /lib/systemd -> /usr/lib/systemd transition
20 $ROOTCMD rm -f /etc/systemd/system/syslog.service
22 $ROOTCMD systemctl preset-all
23 $ROOTCMD systemctl set-default grml-boot.target
28 ## END OF FILE #################################################################
29 # vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=2