dracut/adduser: fix autologin kernel option

The sed replacment should be in agetty-tty1/conf not agetty-tty1/run
This commit is contained in:
salahdin-ahmed 2021-05-24 12:08:11 +02:00 committed by Michael Aldridge
parent 388993eb51
commit 7cd19aff06
1 changed files with 1 additions and 1 deletions

View File

@ -52,5 +52,5 @@ _EOF
fi
if [ -n "$AUTOLOGIN" ]; then
sed -i "s,GETTY_ARGS=\"--noclear\",GETTY_ARGS=\"--noclear -a $USERNAME\",g" ${NEWROOT}/etc/sv/agetty-tty1/run
sed -i "s,GETTY_ARGS=\"--noclear\",GETTY_ARGS=\"--noclear -a $USERNAME\",g" ${NEWROOT}/etc/sv/agetty-tty1/conf
fi