projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4007230
)
network: correct rules for multiple nics
author
Harald Hoyer
<harald@redhat.com>
Fri, 16 Apr 2010 14:41:24 +0000
(16:41 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Fri, 16 Apr 2010 15:59:48 +0000
(17:59 +0200)
modules.d/40network/net-genrules.sh
patch
|
blob
|
history
diff --git
a/modules.d/40network/net-genrules.sh
b/modules.d/40network/net-genrules.sh
index
fdb6ab6
..
10d6ecd
100755
(executable)
--- a/
modules.d/40network/net-genrules.sh
+++ b/
modules.d/40network/net-genrules.sh
@@
-29,7
+29,7
@@
fix_bootif() {
# If we have to handle multiple interfaces, handle only them.
elif [ -n "$IFACES" ] ; then
for iface in $IFACES ; do
- printf 'ACTION=="add", SUBSYSTEM=="net",
NAME
=="%s", RUN+="/sbin/ifup $env{INTERFACE}"\n' "$iface"
+ printf 'ACTION=="add", SUBSYSTEM=="net",
ENV{INTERFACE}
=="%s", RUN+="/sbin/ifup $env{INTERFACE}"\n' "$iface"
done
# Default: We don't know the interface to use, handle all