diff options
Diffstat (limited to 'External VNC/S90qc_vnc')
-rw-r--r-- | External VNC/S90qc_vnc | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/External VNC/S90qc_vnc b/External VNC/S90qc_vnc new file mode 100644 index 0000000..c4221f4 --- /dev/null +++ b/External VNC/S90qc_vnc @@ -0,0 +1,36 @@ +#!/bin/sh +# +# qc_vnc Starts qc_vnc. +# + +start() { + echo -n "Starting qc_vnc: " + bin/qc_vnc + echo "OK" +} +stop() { + echo -n "Stopping qc_vnc: " + killall qc_vnc + echo "OK" +} +restart() { + stop + start +} + +case "$1" in + start) + start + ;; + stop) + stop + ;; + restart|reload) + restart + ;; + *) + echo "Usage: $0 {start|stop|restart}" + exit 1 +esac + +exit $? |