summaryrefslogtreecommitdiffstats
path: root/source/n/dhcp/dhclient-script.PATH.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/dhcp/dhclient-script.PATH.diff')
-rw-r--r--source/n/dhcp/dhclient-script.PATH.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/source/n/dhcp/dhclient-script.PATH.diff b/source/n/dhcp/dhclient-script.PATH.diff
new file mode 100644
index 000000000..5dfe9f09c
--- /dev/null
+++ b/source/n/dhcp/dhclient-script.PATH.diff
@@ -0,0 +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 @@
+ # 4. TIMEOUT not tested. ping has a flag I don't know, and I'm suspicious
+ # of the $1 in its args.
+
++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
+