summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Brabec <utx@penguin.cz>2008-02-25 23:18:04 +0000
committerStanislav Brabec <utx@penguin.cz>2008-02-25 23:18:04 +0000
commit64eb8308d57862983828fbadedf85e7bb59e36c7 (patch)
tree6ee2aa8925d8a200c21ad43f94a9027157d77cbe
parentf72579c982afa0f5372645cdb4e2c9dce75d5b48 (diff)
Export PATH in udev network.sh.
* udevd does clearenv(). Without PATH, ifup/ifdown does not work properly. * Exporting default shell PATH fixes it.
-rw-r--r--packages/udev/files/network.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/udev/files/network.sh b/packages/udev/files/network.sh
index 5016328df4..182c26d86a 100644
--- a/packages/udev/files/network.sh
+++ b/packages/udev/files/network.sh
@@ -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