Update of /cvsroot/devil-linux/build/scripts/scripts
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv25637
Modified Files:
dhcpd
Log Message:
we don't need the broadcast workaround anymore with our kernel and dhcpd version
Index: dhcpd
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/scripts/dhcpd,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- dhcpd 25 Jul 2005 17:16:58 -0000 1.14
+++ dhcpd 27 Dec 2015 15:09:45 -0000 1.15
@@ -47,9 +47,6 @@
start)
LF="$(grep '^ *lease-file-name *"' $DHCPDCONF | sed -e 's/^ *lease-file-name *"//' -e 's/" *; *$//')"
touch ${LF:-/etc/dhcpd.leases} || exit
- for DEVICE in $DEVICES; do
- route add -net 255.255.255.255 netmask 255.255.255.255 $DEVICE
- done
echo -n "Starting $NAME on $DEVICES..."
if [ -z "$LF" ]; then
@@ -59,10 +56,6 @@
fi
;;
stop)
- for DEVICE in $DEVICES; do
- route del -net 255.255.255.255 netmask 255.255.255.255 $DEVICE
- done
-
echo -n "Stopping $NAME on $DEVICES..."
killproc $DAEMON
;;
|