mirror of
https://github.com/unifi-utilities/unifios-utilities.git
synced 2025-07-26 05:14:43 +00:00
Allow bootscript to install on UniFi Dream Wall (#646)
This commit is contained in:
committed by
GitHub
parent
1fc89d7891
commit
575541ea5c
@ -52,6 +52,9 @@ depends_on() {
|
||||
|
||||
udm_model() {
|
||||
case "$(ubnt-device-info model || true)" in
|
||||
"UniFi Dream Wall")
|
||||
echo "udw"
|
||||
;;
|
||||
"UniFi Dream Machine SE")
|
||||
echo "udmse"
|
||||
;;
|
||||
@ -176,7 +179,7 @@ udmlegacy | udmprolegacy)
|
||||
|
||||
echo "UDM Boot Script installed"
|
||||
;;
|
||||
udr | udmse | udm | udmpro)
|
||||
udr | udmse | udm | udmpro | udw)
|
||||
echo "$(ubnt-device-info model) version $(ubnt-device-info firmware) was detected"
|
||||
echo "Installing on-boot script..."
|
||||
depends_on systemctl
|
||||
|
Reference in New Issue
Block a user