PDA

View Full Version : gbox startup scripts in vti v 3.1



Biasse
03-10-11, 20:49
Is this right?
__________________________________________

#!/bin/sh

EMUNAME="Gbox"

remove_tmp () {
rm -rf /tmp/*.info* /tmp/*.tmp*
}

case "$1" in
start)
echo "[SCRIPT] $1: $EMUNAME"
remove_tmp
sleep 1
/usr/bin/dccamd &
sleep 3
/usr/bin/gbox &
;;
stop)
echo "[SCRIPT] $1: $EMUNAME"
killall -9 dccamd gbox 2>/dev/null
sleep 1
remove_tmp
;;
*)
$0 stop
exit 0
;;
esac

exit 0

basilyoung
03-10-11, 21:07
Is this right?
__________________________________________

#!/bin/sh

EMUNAME="Gbox"

remove_tmp () {
rm -rf /tmp/*.info* /tmp/*.tmp*
}

case "$1" in
start)
echo "[SCRIPT] $1: $EMUNAME"
remove_tmp
sleep 1
/usr/bin/dccamd &
sleep 3
/usr/bin/gbox &
;;
stop)
echo "[SCRIPT] $1: $EMUNAME"
killall -9 dccamd gbox 2>/dev/null
sleep 1
remove_tmp
;;
*)
$0 stop
exit 0
;;
esac

exit 0

This I notice is your first post, please read the rules, and make an intro post
as far as help goes with g-box, I doubt anyone here will help you
your best bet is google, or other forums that surport g-box

mercedes777
14-12-11, 01:09
After message author, Gbox Emu already public

basilyoung
14-12-11, 01:15
After message author, Gbox Emu already public

I presume this some what cryptic message is for myself??

if so, please explain, prefribly after you have posted an intro post, and a quick read through the forum rules

mercedes777
25-12-11, 17:24
Gbox is no longer NP, version is public.