installer: remove old workaround

This commit is contained in:
Franco Fichtner 2021-04-13 15:01:30 +02:00
parent 55e4e45dac
commit f9dd232a39

View File

@ -29,12 +29,7 @@ if [ "$(id -u)" != "0" ]; then
exit 1
fi
rm -f /tmp/install_complete
# XXX ideally the exit code could tell us what /tmp/install_complete tried to do
bsdinstall opnsense
if [ ! -f /tmp/install_complete ]; then
if ! bsdinstall opnsense; then
echo "The installation was aborted."
echo
exit