X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=experiments%2Finit.d%2Fvncserver;fp=experiments%2Finit.d%2Fvncserver;h=0000000000000000000000000000000000000000;hb=2b112b4afcc3f44ecfc86b995b39bf72fa993078;hp=2b6e6dd27d6e850fe259921bfaa6963804828b22;hpb=4a33084da9c535541da6da88332a1ae3a05399ec;p=feisty_meow.git diff --git a/experiments/init.d/vncserver b/experiments/init.d/vncserver deleted file mode 100755 index 2b6e6dd2..00000000 --- a/experiments/init.d/vncserver +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/bash -PATH="$PATH:/usr/bin/" -export USER="fred" -DISPLAY="1" -DEPTH="16" -GEOMETRY="1024x768" -OPTIONS="-depth ${DEPTH} -geometry ${GEOMETRY} :${DISPLAY}" -. /lib/lsb/init-functions - -case "$1" in -start) -log_action_begin_msg "Starting vncserver for user '${USER}' on localhost:${DISPLAY}" -su ${USER} -c "/usr/bin/vncserver ${OPTIONS}" -;; - -stop) -log_action_begin_msg "Stoping vncserver for user '${USER}' on localhost:${DISPLAY}" -su ${USER} -c "/usr/bin/vncserver -kill :${DISPLAY}" -;; - -restart) -$0 stop -$0 start -;; -esac -exit 0 -