From fa2d3d08f0e6c6cc4dc4dd6c4bc4a0d0d0ea7426 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 28 Nov 2022 19:20:31 -0600 Subject: [PATCH] Update install.sh --- install.sh | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/install.sh b/install.sh index 9a8177f..1a9b8bd 100755 --- a/install.sh +++ b/install.sh @@ -1,24 +1,10 @@ #!/usr/bin/env sh -source /dev/stdin <<< "$(curl -sL http://go.scity.us/colorsinc)" -source /dev/stdin <<< "$(curl -sL http://go.scity.us/defaultinc)" +#source /dev/stdin <<< "$(curl -sL http://go.scity.us/colorsinc)" +#source /dev/stdin <<< "$(curl -sL http://go.scity.us/defaultinc)" DATA_DIR="/mnt/data" -case "$(ubnt-device-info firmware || true)" in - 1*) - DATA_DIR="/mnt/data" - ;; - 2*) - DATA_DIR="/data" - ;; - 3*) - DATA_DIR="/data" - ;; - *) - echo "ERROR: No persistent storage found." 1>&2 - exit 1 - ;; - esac + echo -e "${idsCL[Green]}Installing UniFiOS-Utilities 'on-boot-script' system...${idsCL[Default]}"