Keeping Toon hacked

For heating/cooling related questions in Domoticz

Moderator: leecollings

Post Reply
aalwash
Posts: 6
Joined: Saturday 06 January 2018 11:17
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.9168
Contact:

Keeping Toon hacked

Post by aalwash »

Hi everyone,

After a few upgrades, it started to annoy me that some configs are overwritten, causing SSH or the web URL to break and/or not accessible.

So I made a small script, that should be placed in /etc/inittab which will be executed on every restart.
You can find the script here: https://github.com/aalwash/toon-hacking

The bash script is really simple:
  • Check if SSH is commented in /etc/default/iptables.conf, if so, remove the comment and restart iptable
  • Check if hdrz_zwave is inside /HCBv2/etc/qmf_release.conf, if so, replace with /HCBv2/www and disbable whitelist and kill lighthttpd
Let me know if you like these scripts and/or if modifications are needed
RPi3 , Xiaomi Door Window sensors, Xiaomi Temp+Humidity sensors, Zigbee2MQTT (Zigbee CC2531), Hacked Toon
brommetje
Posts: 67
Joined: Sunday 16 February 2014 17:40
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: NL
Contact:

Re: Keeping Toon hacked

Post by brommetje »

Useful script, thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests