Prechádzať zdrojové kódy

installer.sh.in: remove autologin for live user from agetty-tty1

fixes #211
closes #212
classabbyamp 2 rokov pred
rodič
commit
794bc7527c
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  1. 1 0
      installer.sh.in

+ 1 - 0
installer.sh.in

@@ -1289,6 +1289,7 @@ ${BOLD}Do you want to continue?${RESET}" 20 80 || return
         echo "Removing $USERNAME live user from targetdir ..." >$LOG
         chroot $TARGETDIR userdel -r $USERNAME >$LOG 2>&1
         rm -f $TARGETDIR/etc/sudoers.d/99-void-live
+        sed -i "s,GETTY_ARGS=\"--noclear -a $USERNAME\",GETTY_ARGS=\"--noclear\",g" $TARGETDIR/etc/sv/agetty-tty1/conf
         TITLE="Check $LOG for details ..."
         INFOBOX "Rebuilding initramfs for target ..." 4 60
         echo "Rebuilding initramfs for target ..." >$LOG