X-Git-Url: https://git.gag.com/?p=debian%2Fgcpegg;a=blobdiff_plain;f=debian%2Finit.d;h=74dc49f7472bad682cd7878cbed26d2966cd99fc;hp=3c38511746ceeb906b7f4be3bd040c90aea27857;hb=491009ffbaedc312f1588681d2af08cd394a99de;hpb=d946a30d5eabd2dd3b5574fc818bb1740e5827bf diff --git a/debian/init.d b/debian/init.d index 3c38511..74dc49f 100644 --- a/debian/init.d +++ b/debian/init.d @@ -2,7 +2,7 @@ set -e -test -f /usr/sbin/eggsh || exit 0 +test -x /usr/sbin/eggsh || exit 0 test -d /var/spool/gcpegg || exit 0 cd /var/spool/gcpegg @@ -10,7 +10,7 @@ cd /var/spool/gcpegg case "$1" in start) echo -n "Starting GCP EGG software on virtual terminal 8: eggsh" - openvt -c 8 eggsh + openvt -f -c 8 eggsh echo "." ;; stop) @@ -21,7 +21,7 @@ case "$1" in reload|force-reload|restart) echo -n "Restarting GCP EGG software on virtual terminal 8..." start-stop-daemon --stop --quiet --oknodo --exec /usr/sbin/eggsh - openvt -c 8 eggsh + openvt -f -c 8 eggsh echo "done." ;; *)