Skip to content

Commit

Permalink
This is a beta release for testing the build-process and the installa…
Browse files Browse the repository at this point in the history
…tion on hm-docker-amd64
  • Loading branch information
anli-xsigns committed Aug 18, 2017
1 parent 32c84d2 commit 98d4086
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions update_script
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

ADDONNAME=script
WWWDIR=/usr/local/etc/config/addons/www/$ADDONNAME
Expand All @@ -12,7 +12,7 @@ elif [ "$1" == "CCU2" ]; then
echo "CCU2"
mount -t ubifs ubi1:user /usr/local
elif [ "$1" == "HM-DOCKER-AMD64" ]; then
echo "CCU2 Docker-Image für debian AMD64"
echo "CCU2 Docker-Image für debian AMD64"
elif [ "$1" == "HM-RASPBERRYMATIC" ]; then
echo "HM-RASPBERRYMATIC"
mount /usr/local
Expand All @@ -35,6 +35,8 @@ chmod +x $RCDDIR/scriptparser
# sync filesystem to make sure all changes are written to disk
sync

exit

if [ "$1" = "" ]; then
echo "CCU1"
lcdtool "Reboot... "
Expand All @@ -46,7 +48,7 @@ elif [ "$1" = "CCU2" ]; then
echo "CCU2"
# CCU2 always reboots after Addon/Firmware Update
elif [ "$1" == "HM-DOCKER-AMD64" ]; then
echo "CCU2 Docker-Image für debian AMD64"
echo "CCU2 Docker-Image für debian AMD64"
# restart ccu2 related services in image
/etc/init.d/ccu2 restart
elif [ "$1" = "HM-RASPBERRYMATIC" ]; then
Expand Down

0 comments on commit 98d4086

Please sign in to comment.