diff options
-rw-r--r-- | dracut/adduser.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dracut/adduser.sh b/dracut/adduser.sh index 79133ac..aaee9f3 100644 --- a/dracut/adduser.sh +++ b/dracut/adduser.sh @@ -25,6 +25,8 @@ fi rm -f "${NEWROOT}/etc/systemd/system/getty.target.wants/getty@tty1.service" sed -e "s|/sbin/agetty --noclear|& -a ${USERNAME}|g" \ "${NEWROOT}/usr/lib/systemd/system/getty@.service" > \ + "${NEWROOT}/etc/systemd/system/getty@.service" +ln -sf /etc/systemd/system/getty@.service \ "${NEWROOT}/etc/systemd/system/getty.target.wants/getty@tty1.service" if [ -d ${NEWROOT}/etc/polkit-1 ]; then |