summaryrefslogtreecommitdiffstats
path: root/initramfs/stage3-stuff/init
diff options
context:
space:
mode:
authorDirk von Suchodoletz2010-08-11 19:59:11 +0200
committerDirk von Suchodoletz2010-08-11 19:59:11 +0200
commit1923971153ecfbeea9e371970bf12e6528aafcf9 (patch)
tree615d43db8053269155fd5950fd6311133267be60 /initramfs/stage3-stuff/init
parentCleaned up module loading for graphic adaptors (needed for newer Ubuntu (diff)
downloadcore-1923971153ecfbeea9e371970bf12e6528aafcf9.tar.gz
core-1923971153ecfbeea9e371970bf12e6528aafcf9.tar.xz
core-1923971153ecfbeea9e371970bf12e6528aafcf9.zip
Ugly quickfix for nwif naming problem (not properly passed via the
enviroment, not properly updated within)
Diffstat (limited to 'initramfs/stage3-stuff/init')
-rwxr-xr-xinitramfs/stage3-stuff/init6
1 files changed, 3 insertions, 3 deletions
diff --git a/initramfs/stage3-stuff/init b/initramfs/stage3-stuff/init
index 86d9da9c..50bd604c 100755
--- a/initramfs/stage3-stuff/init
+++ b/initramfs/stage3-stuff/init
@@ -403,15 +403,15 @@ if strinstr "eth" "$nwif" ; then
error "$init_errnwad"
else
# assume a forcedeth problem here (nonmatching MACs)
- error "$init_nveth" nonfatal
macaddr=${bootmac}
fi
break
fi
done
fi
-# hook to setup bridging (several virtualization tools ...)
-
+# quickfix for proper nwif passing ... (to be fixed in a more general way)
+sed "s/nwif=.*/nwif=\"${nwif}\"/" -i /tmp/env/wrapper.env
+# hook to setup bridging (several virtualization tools ...
runinithook '20-nw-bridge-config'
# set up loopback networking