MOTION=1VIRTUALBOX!!VirtualBox!!2.1.4!!/root/vboxctrl.sh start!!/root/vboxctrl.sh stop#! /bin/sh
# Control VirtualBox with system startup/shutdown.
PATH=/bin:/usr/bin
case "$1" in
start|"")
/usr/bin/VBoxHeadless -startvm "ThinClient" &
;;
stop)
/usr/bin/VBoxManage controlvm "ThinClient" savestate
;;
status)
/usr/bin/VBoxManage showvminfo "ThinClient" | grep '^State:'
;;
restart|reload|force-reload)
echo "Error: argument '$1' not supported" >&2
exit 3
;;
*)
echo "Usage: vboxctrl.sh [start|stop|status]" >&2
exit 3
;;
esacchirpa wrote:Any logs in /var/log/syslog from the VirtualBox kernel modules?
Return to ReadyNAS Developers Network
Users browsing this forum: No registered users and 2 guests