Remote monitoring using iOS?
-
You could do something crude, as I have in the past.
Create a file called, say. istatd.sh in /usr/local/etc/rc.d and put in it:#!/bin/sh # #File to start istatd until a proper package is created. /usr/local/bin/istatd -c /usr/local/etc/istat.conf -d
Set the file permissions so it can be executed. Cross your fingers and reboot. ;)
Steve
-
I googled and found this :)
"Executing commands at boot time"
The hidden config.xml option <shellcmd>will run the command specified towards the end of the boot process.
Above the line, add a line such as the following:<shellcmd>mycommand -a -b -c 123</shellcmd>
Where "mycommand -a -b -c 123" is the command to run. You can add multiple <shellcmd>lines to execute multiple commands. Save your changes and restore the modified configuration.</shellcmd></shellcmd>
(source: http://doc.pfsense.org/index.php/Executing_commands_at_boot_time)
Did that, rebooted and YAY, it works :)
BIG thanks for your help! :)
-
Good call that's a better way to do it. Don't know why I didn't suggest that. ::)
Screenshots (from your phone) to encourage others to try it?
Steve
-
Working on that :)Here is a iPhone 5 screenshot
And here a iPad one
-
Nice. :)
Steve