mirror of
https://github.com/truenas/scale-build.git
synced 2026-02-15 07:29:12 +00:00
Merge pull request #634 from truenas/fix-installer-shell
NAS-128742 / 24.10 / Fix installer exit to shell
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user