Skip to content

Commit

Permalink
unsupported patch
Browse files Browse the repository at this point in the history
  • Loading branch information
jens-maus committed Jul 7, 2021
1 parent 2386d13 commit f00ecd9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rc.d/programmedrucken
Expand Up @@ -5,6 +5,11 @@ ADDON_DIR=/usr/local/etc/config/addons/${ADDONNAME}
WWW_DIR=/usr/local/etc/config/addons/www/${ADDONNAME}
RCD_DIR=/usr/local/etc/config/rc.d

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

model=`grep VERSION /boot/VERSION | awk -F'[=.]' {'print $2'}`
version=`grep VERSION /boot/VERSION | awk -F'[=.]' {'print $3'}`
build=`grep VERSION /boot/VERSION | awk -F'[=.]' {'print $4'}`
Expand Down
5 changes: 5 additions & 0 deletions update_script
Expand Up @@ -4,6 +4,11 @@ RC_DIR=/usr/local/etc/config/rc.d
WWW_DIR=/usr/local/etc/config/addons/www/print
ADDON_DIR=/usr/local/etc/config/addons/print

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

# mount /usr/local if not already mounted
mount | grep /usr/local 2>&1 >/dev/null
if [ $? -eq 1 ]; then
Expand Down

0 comments on commit f00ecd9

Please sign in to comment.