Miscellany
public text v1 · immutable# chkconfig: 2345 90 10
# description: vnconboot - Starts the VNC server on boot
HOME="/root"
start() {
vncserver
}
stop() {
echo "Kill the VNC server with the command."
}
# See how we were called.
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
start
;;
*)
echo $"Usage: {start|stop|restart}"
esac
exit