dracut/adduser: fix autologin kernel option
The sed replacment should be in agetty-tty1/conf not agetty-tty1/run
This commit is contained in:
parent
388993eb51
commit
7cd19aff06
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue