install stage 2: fix removing first-boot config of tty1

master
BodgeMaster 2026-03-22 03:22:20 +01:00
parent ae2a5f94e3
commit a84cb829dd
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ useradd -m -s /bin/bash -G wheel "$NEW_USER"
passwd "$NEW_USER"
echo "Cleaning up installation files..."
mv /mnt/target/etc/sv/agetty-tty1/conf.bak /mnt/target/etc/sv/agetty-tty1/conf >> $LOGFILE 2>&1
mv /etc/sv/agetty-tty1/conf.bak /etc/sv/agetty-tty1/conf >> $LOGFILE 2>&1
if [ -f /root/.profile.bak ]; then
mv /root/.profile.bak /root/.profile
else