summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-11-26 16:49:06 -0200
committerRenato Botelho <renato@netgate.com>2015-11-26 16:49:06 -0200
commit84bdd3e8b366157e7f54a7983a0b51de60b43fa5 (patch)
tree3ff375ec5d5f8f20e09b3d7828a577cc4501017e /src
parent4205053bfc63edabb35e82e73794ef3774eba780 (diff)
downloadpfsense-84bdd3e8b366157e7f54a7983a0b51de60b43fa5.zip
pfsense-84bdd3e8b366157e7f54a7983a0b51de60b43fa5.tar.gz
Remove unused code
Diffstat (limited to 'src')
-rwxr-xr-xsrc/sbin/dhclient-script11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/sbin/dhclient-script b/src/sbin/dhclient-script
index 98e4aa8..d8199cb 100755
--- a/src/sbin/dhclient-script
+++ b/src/sbin/dhclient-script
@@ -18,11 +18,7 @@
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#
-NETSTAT=/usr/bin/netstat
-GREP=/usr/bin/grep
-AWK=/usr/bin/awk
HOSTNAME=/bin/hostname
-GREP=/usr/bin/grep
ROUTE=/sbin/route
SED=/usr/bin/sed
ARP=/usr/sbin/arp
@@ -305,13 +301,6 @@ if [ -f /etc/dhclient-enter-hooks ]; then
fi
fi
-#if [ -x $ROUTE ]; then
-# if_defaultroute=`$ROUTE -n get -inet default | $GREP interface | $AWK '{print $2}'`
-#else
-# $LOGGER "if_defaultroute"
-# if_defaultroute="x"
-#fi
-
$LOGGER $reason
case $reason in
MEDIUM)
OpenPOWER on IntegriCloud