diff options
author | Juan RP <xtraeme@gmail.com> | 2014-06-20 10:29:06 +0200 |
---|---|---|
committer | Juan RP <xtraeme@gmail.com> | 2014-06-20 10:29:06 +0200 |
commit | b54cdb22e756b35b5cc3a2712ae8f7dae2c1c228 (patch) | |
tree | 1df9a6a65acbc8de6847d16c8c8ae0745560ab28 /dracut | |
parent | 1fcbe4e2e98bb639432077432a9bc4bf38bd9c8a (diff) | |
download | hrmpf-b54cdb22e756b35b5cc3a2712ae8f7dae2c1c228.tar.gz hrmpf-b54cdb22e756b35b5cc3a2712ae8f7dae2c1c228.tar.xz hrmpf-b54cdb22e756b35b5cc3a2712ae8f7dae2c1c228.zip |
dracut/adduser.sh: no need to remove pam_systemd with runit anymore.
Diffstat (limited to 'dracut')
-rw-r--r-- | dracut/adduser.sh | 3 |
1 files changed, 1 insertions, 2 deletions
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. |