summaryrefslogtreecommitdiff
path: root/net/isc-dhcp40-server/files/isc-dhcpd.sh.sample
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2001-02-17 14:17:30 +0000
committerPeter Pentchev <roam@FreeBSD.org>2001-02-17 14:17:30 +0000
commitdbf330cfa86f9915da76a95ee95ea3f1701a7379 (patch)
treeb99e3d5b668f1d2659ba982f2bb4d21b88756306 /net/isc-dhcp40-server/files/isc-dhcpd.sh.sample
parentDisable mcrypt support. I doesn't compile at the moment due to recent (diff)
Update to 3.0b2pl16, assign maintainership to Cyrille Lefevre.
PR: 24911 Submitted by: Cyrille Lefevre <clefevre@citeweb.net> - new maintainer
Notes
Notes: svn path=/head/; revision=38426
Diffstat (limited to 'net/isc-dhcp40-server/files/isc-dhcpd.sh.sample')
-rw-r--r--net/isc-dhcp40-server/files/isc-dhcpd.sh.sample7
1 files changed, 4 insertions, 3 deletions
diff --git a/net/isc-dhcp40-server/files/isc-dhcpd.sh.sample b/net/isc-dhcp40-server/files/isc-dhcpd.sh.sample
index f07d745c3772..3cc86c5e65a3 100644
--- a/net/isc-dhcp40-server/files/isc-dhcpd.sh.sample
+++ b/net/isc-dhcp40-server/files/isc-dhcpd.sh.sample
@@ -2,6 +2,7 @@
# $FreeBSD$
+OPTIONS=""
IFACES="SET_THIS"
if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then
@@ -11,10 +12,10 @@ fi
case "$1" in
start)
- ${PREFIX}/sbin/dhcpd $IFACES
+ ${PREFIX}/sbin/dhcpd $OPTIONS $IFACES
;;
stop)
- kill `cat /var/run/dhcpd.pid`
+ killall dhcpd
;;
restart)
$0 stop
@@ -24,7 +25,7 @@ status)
ps -auxww | egrep '(conserver|console)' | egrep -v "($0|egrep)"
;;
*)
- echo "Usage: `basename $0` {start|stop|restart|status}" >&2
+ echo "usage: ${0##*/} {start|stop|restart|status}" >&2
;;
esac