projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
391422d
)
include functions and network config in hotplug
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 7 Nov 2005 02:18:59 +0000
(
02:18
+0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 7 Nov 2005 02:18:59 +0000
(
02:18
+0000)
SVN-Revision: 2370
openwrt/package/base-files/default/sbin/hotplug
patch
|
blob
|
history
diff --git
a/openwrt/package/base-files/default/sbin/hotplug
b/openwrt/package/base-files/default/sbin/hotplug
index 57ee969cf7b488b2d351f601b5916f688f403092..4e009593af3b56c8aba1d4bc1f8c708b7562d619 100755
(executable)
--- a/
openwrt/package/base-files/default/sbin/hotplug
+++ b/
openwrt/package/base-files/default/sbin/hotplug
@@
-1,4
+1,8
@@
#!/bin/sh
+. /etc/functions.sh
+. /etc/network.overrides
+[ "$FAILSAFE" != "true" -a -e /etc/config/network ] && . /etc/config/network
+
PATH=/bin:/sbin:/usr/bin:/usr/sbin
LOGNAME=root
USER=root