diff options
author | Juan RP <xtraeme@gmail.com> | 2014-08-08 13:06:02 +0200 |
---|---|---|
committer | Juan RP <xtraeme@gmail.com> | 2014-08-08 13:06:02 +0200 |
commit | 29340d664e19bc35314c57aee150f04997cc997b (patch) | |
tree | 23bf6e29900d684c7030760a8e83c6b821245de9 /dracut | |
parent | 27ab1fc5d53b01b02d7c8f0aff476a2c219a064d (diff) | |
download | hrmpf-29340d664e19bc35314c57aee150f04997cc997b.tar.gz hrmpf-29340d664e19bc35314c57aee150f04997cc997b.tar.xz hrmpf-29340d664e19bc35314c57aee150f04997cc997b.zip |
dracut/adduser.sh: repair autologin with the latest agetty runit service.
Diffstat (limited to 'dracut')
-rw-r--r-- | dracut/adduser.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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. |