feat: add support for UniFi Dream Machine Pro Max (#605)

Co-authored-by: Alex Dobin <ADobin@users.noreply.github.com>
This commit is contained in:
John Dorman 2024-05-13 18:24:47 -07:00 committed by GitHub
parent a30fb8793c
commit 63a07f99d7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -76,6 +76,9 @@ udm_model() {
"UniFi Dream Router") "UniFi Dream Router")
echo "udr" echo "udr"
;; ;;
"UniFi Dream Machine Pro Max")
echo "udmpromax"
;;
*) *)
echo "unknown" echo "unknown"
;; ;;
@ -180,7 +183,7 @@ udmlegacy | udmprolegacy)
echo "UDM Boot Script installed" echo "UDM Boot Script installed"
;; ;;
udr | udmse | udm | udmpro) udr | udmse | udm | udmpro | udmpromax)
echo "$(ubnt-device-info model) version $(ubnt-device-info firmware) was detected" echo "$(ubnt-device-info model) version $(ubnt-device-info firmware) was detected"
echo "Installing on-boot script..." echo "Installing on-boot script..."
depends_on systemctl depends_on systemctl