install stage 2: fix removing first-boot config of tty1
parent
ae2a5f94e3
commit
a84cb829dd
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue