Explorar o código

dracut/adduser: fix autologin kernel option

The sed replacment should be in agetty-tty1/conf not agetty-tty1/run
salahdin-ahmed %!s(int64=4) %!d(string=hai) anos
pai
achega
7cd19aff06
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      dracut/vmklive/adduser.sh

+ 1 - 1
dracut/vmklive/adduser.sh

@@ -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