Search
j0ke.net Open Build Service
>
Projects
>
home:jg
:
playground
>
dracut
> 0070-network-correct-rules-for-multiple-nics.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File 0070-network-correct-rules-for-multiple-nics.patch of Package dracut
From 73bbcaaacf005d55a65b5d4f8818bbb56449027e Mon Sep 17 00:00:00 2001 From: Harald Hoyer <harald@redhat.com> Date: Fri, 16 Apr 2010 16:41:24 +0200 Subject: [PATCH] network: correct rules for multiple nics --- modules.d/40network/net-genrules.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules.d/40network/net-genrules.sh b/modules.d/40network/net-genrules.sh index fdb6ab6..10d6ecd 100755 --- 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 -- 1.8.3.1