mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-05 22:43:24 +00:00
28 lines
323 B
Bash
28 lines
323 B
Bash
|
#!/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
|