Keeping Toon hacked

For heating/cooling related questions in Domoticz
Post Reply
alitrix
Posts: 6
Joined: Saturday 06 January 2018 12:17
Target OS: Raspberry Pi
Domoticz version: 3.9168
Contact:

Keeping Toon hacked

Post by alitrix » Monday 02 April 2018 11:47

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

brommetje
Posts: 53
Joined: Sunday 16 February 2014 18:40
Target OS: Raspberry Pi
Domoticz version: v3.9139
Location: NL
Contact:

Re: Keeping Toon hacked

Post by brommetje » Monday 02 April 2018 16:13

Useful script, thanks.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest