From 409b69f50157cce9ca99255fde171d19f126432e Mon Sep 17 00:00:00 2001 From: Jens Maus Date: Wed, 7 Jul 2021 18:27:12 +0200 Subject: [PATCH] unsupported platform patch --- update_script | 5 +++++ xml-api | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/update_script b/update_script index 039fd2d..0899326 100755 --- a/update_script +++ b/update_script @@ -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 " diff --git a/xml-api b/xml-api index d774839..b0f8bbc 100755 --- a/xml-api +++ b/xml-api @@ -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