From f9dd232a396459dff75720b3f11b8576aafaa3d8 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Tue, 13 Apr 2021 15:01:30 +0200 Subject: [PATCH] installer: remove old workaround --- src/sbin/opnsense-installer | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/sbin/opnsense-installer b/src/sbin/opnsense-installer index 924f53371..6ee2b393f 100755 --- a/src/sbin/opnsense-installer +++ b/src/sbin/opnsense-installer @@ -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