diff options
Diffstat (limited to 'source/n/dhcp/dhclient-script.PATH.diff')
-rw-r--r-- | source/n/dhcp/dhclient-script.PATH.diff | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/n/dhcp/dhclient-script.PATH.diff b/source/n/dhcp/dhclient-script.PATH.diff index 5dfe9f09..567ed2a4 100644 --- a/source/n/dhcp/dhclient-script.PATH.diff +++ b/source/n/dhcp/dhclient-script.PATH.diff @@ -1,13 +1,13 @@ -diff -Nur dhcp-4.1.1.orig//client/scripts/linux dhcp-4.1.1/client/scripts/linux ---- dhcp-4.1.1.orig//client/scripts/linux 2009-04-21 09:21:09.000000000 -0500 -+++ dhcp-4.1.1/client/scripts/linux 2010-03-03 09:14:33.261713322 -0600 -@@ -22,6 +22,9 @@ +--- ./client/scripts/linux.orig 2017-07-25 08:39:54.000000000 -0500 ++++ ./client/scripts/linux 2017-08-03 15:31:41.067873392 -0500 +@@ -22,6 +22,10 @@ # 4. TIMEOUT not tested. ping has a flag I don't know, and I'm suspicious # of the $1 in its args. ++# Set a reasonable default path for Linux: +PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin +export PATH + - # 'ip' just looks too weird. /sbin/ip looks less weird. - ip=/sbin/ip - + # 5. Script refresh in 2017. The aliasing code was too convoluted and needs + # to go away. Migrated DHCPv4 script to ip command from iproute2 suite. + # This is based on Debian script with some tweaks. ifconfig is no longer |