Skip to content

Commit

Permalink
Update deploy.sh - FW 4.1 not supported
Browse files Browse the repository at this point in the history
See issue #68 

Again changes made by UI for cert locations and configuration mechanism
  • Loading branch information
alxwolf authored Dec 24, 2024
1 parent cc0b3be commit 5e75eca
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ if [ $(echo ${FIRMWARE_VER} | sed 's#\..*$##g') -gt 1 ]
exit 1
fi

if [ $(echo ${FIRMWARE_VER} | sed 's#\..1$##g') = "4.1" ]
then
echo "Unsupported firmware: ${FIRMWARE_VER}"
exit 1
fi

case "${MODEL}" in
"UniFi Dream Machine Pro"|"UniFi Dream Machine"|"UniFi Dream Router"|"UniFi Dream Machine SE")
echo "${MODEL} running firmware ${FIRMWARE_VER} detected, installing ubios-cert in ${DATA_DIR}..."
Expand Down

0 comments on commit 5e75eca

Please sign in to comment.