aboutsummaryrefslogtreecommitdiff
path: root/net/isc-dhcp3/files/isc-dhcpd.sh.sample
diff options
context:
space:
mode:
Diffstat (limited to 'net/isc-dhcp3/files/isc-dhcpd.sh.sample')
-rw-r--r--net/isc-dhcp3/files/isc-dhcpd.sh.sample5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/isc-dhcp3/files/isc-dhcpd.sh.sample b/net/isc-dhcp3/files/isc-dhcpd.sh.sample
index 3cc86c5e65a3..bd9f10dbc3fd 100644
--- a/net/isc-dhcp3/files/isc-dhcpd.sh.sample
+++ b/net/isc-dhcp3/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