Update remote_install.sh (#603)

add support for UnifiOS 4.* when determining `DATA_DIR`
This commit is contained in:
Charlie Chrisman 2024-05-06 09:10:03 +02:00 committed by GitHub
parent f210f4d252
commit 2adb24f5e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,6 +12,9 @@ case "$(ubnt-device-info firmware || true)" in
3*)
DATA_DIR="/data"
;;
4*)
DATA_DIR="/data"
;;
*)
echo "ERROR: No persistent storage found." 1>&2
exit 1