Skip to content

Commit

Permalink
unsupported platform patch
Browse files Browse the repository at this point in the history
  • Loading branch information
jens-maus committed Jul 7, 2021
1 parent 8b10b7d commit 409b69f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions update_script
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ ADDON_DIR=/usr/local/etc/config/addons/www/xmlapi
RCD_DIR=/usr/local/etc/config/rc.d
CONFIG_DIR=/usr/local/etc/config

# check for unsupported platforms
if grep -qim1 busmatic /www/api/methods/ccu/downloadFirmware.tcl; then
exit 13
fi

if [ "$1" = "" ]; then
echo "CCU1"
lcdtool "installing XML-API "
Expand Down
5 changes: 5 additions & 0 deletions xml-api
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
WWW_DIR=/etc/config/addons/www/xmlapi
CONFIG_URL=/addons/xmlapi/

# check for unsupported platforms
if grep -qim1 busmatic /www/api/methods/ccu/downloadFirmware.tcl; then
exit 13
fi

case "$1" in
""|start)
if [ ! -e /www/config/xmlapi ]; then
Expand Down

0 comments on commit 409b69f

Please sign in to comment.