8683c24763
(maybe this port isn't used and can be cvs rm'ed?)
20 lines
277 B
Bash
20 lines
277 B
Bash
#!/bin/sh
|
|
|
|
uox3dir=/usr/local/uox3
|
|
|
|
case "$1" in
|
|
start)
|
|
[ -x ${uox3dir}/uox3 ] && \
|
|
cd ${uox3dir} && \
|
|
uox3 > ${uox3dir}/stdout.log & && \
|
|
echo -n ' uox3'
|
|
;;
|
|
stop)
|
|
killall uox3 && echo -n ' uox3'
|
|
;;
|
|
*)
|
|
echo "Usage: `basename $0` {start|stop}" >&2
|
|
exit 64
|
|
;;
|
|
esac
|