Merge pull request #634 from truenas/fix-installer-shell

NAS-128742 / 24.10 / Fix installer exit to shell
This commit is contained in:
themylogin
2024-05-09 15:55:50 +02:00
committed by GitHub

View File

@@ -1,9 +1,2 @@
#!/bin/sh
if [ -f /cdrom/TrueNAS-SCALE.update ];
then
until /usr/bin/python3 -m truenas_installer; do true; done
else
read -p "No installation media found. Press enter to reboot..." answer
reboot
fi
/usr/bin/python3 -m truenas_installer