File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ udm_model() {
7373 echo " udr"
7474 ;;
7575 " UniFi Dream Router 7" )
76- echo " udr "
76+ echo " udr7 "
7777 ;;
7878 " UniFi Dream Machine Pro Max" )
7979 echo " udmpromax"
@@ -87,9 +87,18 @@ udm_model() {
8787 " UniFi Express" )
8888 echo " ux"
8989 ;;
90+ " UniFi Express 7" )
91+ echo " ux7"
92+ ;;
9093 " UniFi Cloud Gateway Fiber" )
9194 echo " ucgfiber"
92- ;;
95+ ;;
96+ " UniFi NeXt-Gen Gateway Fiber" )
97+ echo " uxgfiber"
98+ ;;
99+ " Enterprise Fortress Gateway" )
100+ echo " udment"
101+ ;;
93102 * )
94103 echo " unknown"
95104 ;;
@@ -142,8 +151,8 @@ install_on_boot_udr_se() {
142151 rm -f " $SYMLINK_SYSTEMCTL "
143152
144153 echo " Creating systemctl service file"
145-
146- if ! download_on_path " $SYSTEMCTL_PATH " " $SERVICE_META_URL " ; then
154+
155+ if ! download_on_path " $SYSTEMCTL_PATH " " $SERVICE_META_URL " ; then
147156 echo
148157 echo " Failed to download on-boot script service" 1>&2
149158 exit 1
@@ -179,7 +188,7 @@ udmlegacy | udmprolegacy)
179188 echo " UDM Boot Script installed"
180189 ;;
181190
182- udr | udmse | udm | udmpro | udmpromax | uxgmax | ucgult | ucgfiber | ux)
191+ udr | udmse | udm | udmpro | udmpromax | uxgmax | ucgult | ucgfiber | ux | uxgfiber | udr7 | ux7 | udment )
183192 echo " $( ubnt-device-info model) version $( ubnt-device-info firmware) was detected"
184193 echo " Installing on-boot script..."
185194 depends_on systemctl
You can’t perform that action at this time.
0 commit comments