Skip to content

Commit

Permalink
fixes for latest 3.41.xx CCU firmware changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jens-maus committed Nov 25, 2018
1 parent 9d2e560 commit 62628c6
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 13 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ A HomeMatic CCU Addon package implementing a software watchdog functionality to
* udevd
* sshd
* crond
* RaspberryMatic: rngd
* RaspberryMatic: irqbalance
* RaspberryMatic: dbus
* RaspberryMatic: snmpd
* CCU3/RaspberryMatic: rngd
* CCU3/RaspberryMatic: irqbalance
* CCU3/RaspberryMatic: dbus
* CCU3/RaspberryMatic: snmpd
- third-party services:
* CUxD
* automatically reboots CCU device if one of the services failed 3 times in a row
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.7
0.8
18 changes: 10 additions & 8 deletions common/bin/hm-watchdog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,19 +132,19 @@ fi
# check udevd (ALL: /etc/init.d/S10udev)
check_service "udev" "udevd"

# check irqbalance (RaspberryMatic: /etc/init.d/S13irqbalance)
# check irqbalance (CCU3/RaspberryMatic: /etc/init.d/S13irqbalance)
check_service "irqbalance"

# check rngd (RaspberryMatic: /etc/init.d/S21rngd)
# check rngd (CCU3/RaspberryMatic: /etc/init.d/S21rngd)
check_service "rngd"

# check dbus (RaspberryMatic: /etc/init.d/S30dbus)
# check dbus (CCU3/RaspberryMatic: /etc/init.d/S30dbus)
check_service "dbus"

# check ifplugd (ALL: /etc/init.d/S45ifplugd)
check_service "ifplugd"

# check ntpd (RaspberryMatic: /etc/init.d/S48ntp)
# check ntpd (CCU3/RaspberryMatic: /etc/init.d/S48ntp)
if [[ -x /etc/init.d/S??ntp ]] &&
[[ -e /etc/config/ntpclient ]] && [[ -e /var/status/hasNTP ]]; then
check_service "ntp" "ntpd"
Expand All @@ -156,7 +156,7 @@ if [[ -x /etc/init.d/S??SetClock ]] &&
check_service "SetClock" "ntpclient"
fi

# check for ssdpd (RaspberryMatic: /etc/init.d/S50ssdpd)
# check for ssdpd (CCU3/RaspberryMatic: /etc/init.d/S50ssdpd)
check_service "ssdpd"

# check for eq3configd (ALL: /etc/init.d/S50eq3configd)
Expand All @@ -178,8 +178,10 @@ fi
# check CUxD (if present: /etc/init.d/S55cuxd)
check_service "cuxd"

# check snmpd (RaspberryMatic: /etc/init.d/S59snmpd)
check_service "snmpd"
# check snmpd (CCU3/RaspberryMatic: /etc/init.d/S59snmpd)
if [[ -e /etc/config/snmp/snmpd-ccu3.conf ]]; then
check_service "snmpd"
fi

# check hs485d (ALL: /etc/init.d/S60hs485d)
if grep -q BidCos-Wired /etc/config/InterfacesList.xml; then
Expand Down Expand Up @@ -207,5 +209,5 @@ fi
# check for the ReGaHss (ALL: /etc/init.d/S70ReGaHss)
check_service "ReGaHss"

# check crond (RaspberryMatic: /etc/init.d/S71crond)
# check crond (CCU3/RaspberryMatic: /etc/init.d/S71crond)
check_service "crond"
1 change: 1 addition & 0 deletions www/update-check.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ if { [info exists cmd ] && $cmd == "download"} {
puts -nonewline "Content-Type: text/html; charset=utf-8\r\n\r\n"
puts -nonewline "<html><head><meta http-equiv='refresh' content='0; url=$downloadURL' /></head><body></body></html>"
} else {
puts -nonewline "Content-Type: text/plain; charset=utf-8\r\n\r\n"
catch {
set newversion [ exec /usr/bin/wget -qO- --no-check-certificate $checkURL ]
}
Expand Down

0 comments on commit 62628c6

Please sign in to comment.