summaryrefslogtreecommitdiff
path: root/net/isc-dhcp31-server/files/isc-dhcpd.sh.sample
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2001-03-08 20:06:36 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2001-03-08 20:06:36 +0000
commit922183a07773ec99ed836de5a0e1ab0bbd57cff0 (patch)
treecb4bdda36c27111b65ee22b0cc33982bb9e76c55 /net/isc-dhcp31-server/files/isc-dhcpd.sh.sample
parentUpdate to the 20010210 version. This fixes occasional core dumps in apps. (diff)
update to 3.0b2pl18.
PR: 25501 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=39288
Diffstat (limited to 'net/isc-dhcp31-server/files/isc-dhcpd.sh.sample')
-rw-r--r--net/isc-dhcp31-server/files/isc-dhcpd.sh.sample5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/isc-dhcp31-server/files/isc-dhcpd.sh.sample b/net/isc-dhcp31-server/files/isc-dhcpd.sh.sample
index 3cc86c5e65a3..bd9f10dbc3fd 100644
--- a/net/isc-dhcp31-server/files/isc-dhcpd.sh.sample
+++ b/net/isc-dhcp31-server/files/isc-dhcpd.sh.sample
@@ -3,7 +3,7 @@
# $FreeBSD$
OPTIONS=""
-IFACES="SET_THIS"
+IFACES=""
if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then
echo "$0: Cannot determine the PREFIX" >&2
@@ -12,7 +12,8 @@ fi
case "$1" in
start)
- ${PREFIX}/sbin/dhcpd $OPTIONS $IFACES
+ ${PREFIX}/sbin/dhcpd $OPTIONS $IFACES > /dev/null 2>&1
+ echo -n ' dhcpd'
;;
stop)
killall dhcpd