diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2000-07-05 17:09:23 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2000-07-05 17:09:23 +0000 |
commit | e63ad781eca98de0abf4ca9ce4a0eef5bfcfb62c (patch) | |
tree | 90b6b6e28c671bf27219cb46b19579cfed13b3e4 /japanese/vje30/files | |
parent | 35764879e62e522eb34f34c92604f7a190445a84 (diff) |
Replace the startup script with the new one that supports {start|stop}.
Notes
Notes:
svn path=/head/; revision=30242
Diffstat (limited to 'japanese/vje30/files')
-rw-r--r-- | japanese/vje30/files/vje.sh | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/japanese/vje30/files/vje.sh b/japanese/vje30/files/vje.sh new file mode 100644 index 000000000000..8ae895bedb0e --- /dev/null +++ b/japanese/vje30/files/vje.sh @@ -0,0 +1,27 @@ +#!/bin/sh +# +# $FreeBSD$ + +vjed="/usr/local/vje30/bin/vjed" + +case "$1" in +start) + if [ -x $vjed ] ; then + echo -n ' vje30:' + $vjed & + fi + ;; +stop) + if killall vjed 2>/dev/null; then + echo -n ' vje30' + else + echo -n ' vje30: not running' + fi + ;; +*) + echo "Usage: `basename $0` {start|stop}" >&2 + exit 64 + ;; +esac + +exit 0 |