Rename SERIAL_AUTOLOGIN to CONSOLE_AUTOLOGIN.

This commit is contained in:
David Manouchehri
2022-10-26 11:47:19 -05:00
parent f037b773b9
commit b5ba3c493f
2 changed files with 2 additions and 2 deletions

View File

@@ -109,7 +109,7 @@ install_common() {
# set root password
chroot "${SDCARD}" /bin/bash -c "(echo $ROOTPWD;echo $ROOTPWD;) | passwd root >/dev/null 2>&1"
if [[ $SERIAL_AUTOLOGIN == yes ]]; then
if [[ $CONSOLE_AUTOLOGIN == yes ]]; then
# enable automated login to console(s)
mkdir -p "${SDCARD}"/etc/systemd/system/getty@.service.d/
mkdir -p "${SDCARD}"/etc/systemd/system/serial-getty@.service.d/