From b54cdb22e756b35b5cc3a2712ae8f7dae2c1c228 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 20 Jun 2014 10:29:06 +0200 Subject: dracut/adduser.sh: no need to remove pam_systemd with runit anymore. --- dracut/adduser.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'dracut/adduser.sh') diff --git a/dracut/adduser.sh b/dracut/adduser.sh index 4b7acb3..9c7ce04 100644 --- a/dracut/adduser.sh +++ b/dracut/adduser.sh @@ -25,10 +25,9 @@ if [ -f ${NEWROOT}/etc/sudoers ]; then echo "${USERNAME} ALL=(ALL) NOPASSWD: ALL" >> ${NEWROOT}/etc/sudoers fi -# Enable autologin for agetty(8) on tty1 and disable pam_systemd. +# 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 -e '/systemd/d' -i ${NEWROOT}/etc/pam.d/* fi # Enable autologin for agetty(8) on tty1 with systemd. -- cgit 1.4.1