From dbf330cfa86f9915da76a95ee95ea3f1701a7379 Mon Sep 17 00:00:00 2001 From: Peter Pentchev Date: Sat, 17 Feb 2001 14:17:30 +0000 Subject: Update to 3.0b2pl16, assign maintainership to Cyrille Lefevre. PR: 24911 Submitted by: Cyrille Lefevre - new maintainer --- net/isc-dhcp40-server/files/isc-dhcpd.sh.sample | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'net/isc-dhcp40-server/files/isc-dhcpd.sh.sample') 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 -- cgit v1.2.3