Export PATH in udev network.sh.
authorStanislav Brabec <utx@penguin.cz>
Mon, 25 Feb 2008 23:18:04 +0000 (23:18 +0000)
committerStanislav Brabec <utx@penguin.cz>
Mon, 25 Feb 2008 23:18:04 +0000 (23:18 +0000)
* udevd does clearenv(). Without PATH, ifup/ifdown does not work properly.
* Exporting default shell PATH fixes it.

packages/udev/files/network.sh

index 5016328..182c26d 100644 (file)
@@ -1,5 +1,8 @@
 #!/bin/sh
 
+# udevd does clearenv(). Export shell PATH to children.
+export PATH
+
 # Do not run when pcmcia-cs is installed
 test -x /sbin/cardctl && exit 0