mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
fc1420a178
add 'stop' action to webmin.sh.sample. PR: 23093 Submitted by: olgeni@uli.it
26 lines
374 B
Bash
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
|