feat: add support for UniFi Cloud Gateway Ultra

This commit is contained in:
Braeden Slatyer 2024-08-19 09:00:21 +10:00
parent 6c899cbc2a
commit ee462ee1cf
No known key found for this signature in database

View File

@ -75,6 +75,9 @@ udm_model() {
"UniFi Dream Machine Pro Max") "UniFi Dream Machine Pro Max")
echo "udmpromax" echo "udmpromax"
;; ;;
"UniFi Cloud Gateway Ultra")
echo "ucgult"
;;
*) *)
echo "unknown" echo "unknown"
;; ;;
@ -179,7 +182,7 @@ udmlegacy | udmprolegacy)
echo "UDM Boot Script installed" echo "UDM Boot Script installed"
;; ;;
udr | udmse | udm | udmpro | udmpromax) udr | udmse | udm | udmpro | udmpromax | ucgult)
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