eSwitchpad Install

The INSTALL document was quickly thrown together and needs to be cleaned up thoroughly. None the less..

INSTALL
This is a short install file; a decent one should follow later.

* Extract the archive into your webserver directory.
* edit the conf.php config file to reflect your specific setup (this should speak for itself at this time)
* navigate to the directory on your webserver.
This should basically do the trick.

* sispmctl rights *
The sispmctl command probably requires root rights. The easiest and more secure way to achieve this is to use sudo for the necessary rights escalation. Sudo requires a password; though this can be circumvented by adding the following line to the /etc/sudoers file.
www-data server = NOPASSWD: /usr/bin/sispmctl
www-data should be your fileserver user; server your servername; check the sispmctl path.
This sudo explenation is terribly short and more of a pointer than a manual. Please check the sudo manpage before using this code.

* Remarks *
There are some details you should keep in mind; most of them involving the Scripted Device Shutdown
* The Scripted Device Shutdown is still experimental. The code needs some tweaking to be fully reliable and comfortable.
* You might not want to shutdown some running devices by pulling the plug. For these devices there is the possibility to use a script.
* When using the scripted device shutdown, you will probably want to include a full path to the file.
* When choosing where to put the script file; keep in mind that any scripts you put in your webserver directories will be readable by anyone visiting the server; unless you take extra precautions.

Please post any bugs in the comments or email them!

More about me

Site QR Code

Use this code at your own peril; I am not responsible for anything that happens to you or your devices. You re a big boy or girl, please do some research before using it if you have any concerns!