1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/sysutils/webmin/files/webmin.sh.in
Dmitry Sivachenko fc1420a178 LOCALBASE -> PREFIX where nesessary;
add 'stop' action to webmin.sh.sample.

PR:		23093
Submitted by:	olgeni@uli.it
2000-11-25 20:29:43 +00:00

26 lines
374 B
Bash

#!/bin/sh
# $FreeBSD$
case $1 in
start)
if [ -x !!PREFIX!!/etc/webmin/start ]; then
!!PREFIX!!/etc/webmin/start >/dev/null
echo -n ' webmin'
fi
;;
stop)
if [ -x !!PREFIX!!/etc/webmin/stop ]; then
!!PREFIX!!/etc/webmin/stop >/dev/null
echo -n ' webmin'
fi
;;
*)
echo "usage: `basename $0` {start|stop}" >&2
exit 64
;;
esac