You can input any sort of executable in the fields for shutdown or
reboot.
Mine does something like "touch /var/lock/sc-reboot" which only creates
an ad-hoc flag; then I have a daemon that checks every few seconds
what's in /var/lock and does the deed.

You could could run a script that includes "ssh -e shutdown
r...@vmserver" for example. Or call a cgi script that runs shutdown.
It might be easier/less error prone if the VM polls for a shutdown
signal on its side. This way it  won't try to shutdown until it's up.

Sorry I don't have a working example; what I have is too entangled with
other functions to extract something useful.


-- 
epoch1970
------------------------------------------------------------------------
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=48521

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to