From 29340d664e19bc35314c57aee150f04997cc997b Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 8 Aug 2014 13:06:02 +0200 Subject: dracut/adduser.sh: repair autologin with the latest agetty runit service. --- dracut/adduser.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dracut/adduser.sh b/dracut/adduser.sh index bc30a98..736e33e 100644 --- a/dracut/adduser.sh +++ b/dracut/adduser.sh @@ -27,7 +27,7 @@ fi # Enable autologin for agetty(8) on tty1 with runit. if [ -d ${NEWROOT}/etc/runit ]; then - sed -e "s|\-8|& -a $USERNAME|g" -i ${NEWROOT}/etc/sv/agetty-tty1/run + sed "s|agetty|& -a $USERNAME|" -i ${NEWROOT}/etc/sv/agetty-tty1/run fi # Enable autologin for agetty(8) on tty1 with systemd. -- cgit 1.4.1