This commit is contained in:
Peter Hudec 2023-11-21 16:53:26 +01:00
parent 39555ae720
commit 9f974fbbb6
2 changed files with 1 additions and 24 deletions

View File

@ -13,4 +13,4 @@ Download the firmwares and upload to the controller directory
## Run
See `unifi-firmware-downlaod.sh`
See `unifi-firmware-download.sh`

View File

@ -1,23 +0,0 @@
#!/bin/bash
DIR_NAME=$(dirname $0)
PLATFORM=()
PLATFORM+=('U7PG2')
PLATFORM+=('U7MP')
PLATFORM+=('U7EDU')
PLATFORM+=('U7UKU')
PLATFORM+=('U7IW')
PLATFORM+=('U7IWP')
PLATFORM+=('U7MSH')
PLATFORM+=('U7LT')
PLATFORM+=('U7LR')
PLATFORM+=('U2O')
PLATFORM+=('BZ2')
PLATFORM+=('BZ2LR')
PLATFORM+=('U5O')
PLATFORM+=('U7P')
for VALUE in "${PLATFORM[@]}"; do
${DIR_NAME}/env/bin/python ${DIR_NAME}/unifi-firmware-downlaod.py -f /var/lib/unifi/firmware -p ${VALUE}
done