this is a web running on BBGW
- Move the homecontrol file to the /etc/inid.d/ directory.
- Set the script as the excute script.
chmod +x homecontrol
- set the app as default start app by running:
insserv -v -d /etc/init.d/homecontrol
or by running this
update-rc.d assistant defaults