Update install.sh
This commit is contained in:
16
install.sh
16
install.sh
@@ -1,22 +1,6 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
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 "Installing UniFiOS-Utilities 'on-boot-script' system..."
|
||||
echo
|
||||
|
||||
Reference in New Issue
Block a user