summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVagrant Cascadian <vagrant+debianbugs@freegeek.org>2010-04-09 20:32:23 -0700
committermaximilian attems <maks@debian.org>2010-04-10 06:39:45 +0200
commit4b7ef011bf8d2e532a1944f0ff423163588a6878 (patch)
tree9b6038c0220f769d145a9186bb0ae1648d918e8e
parent5db5becc85059e56075de5a331ed7c5a4cc2de0c (diff)
downloadinitramfs-tools-4b7ef011bf8d2e532a1944f0ff423163588a6878.tar.gz
initramfs-tools-4b7ef011bf8d2e532a1944f0ff423163588a6878.zip
init: add BOOTIF bootarg
as mentioned by Christoph Bussenius in #535008, it does appear that setting BOOTIF from the value in /proc/cmdline is needed. at the time i wrote the patch, i'm not sure it was, but it definitely is now. with these patchese applied, it seems to work. at least for the moment. Signed-off-by: maximilian attems <maks@debian.org>
-rwxr-xr-xinit3
1 files changed, 3 insertions, 0 deletions
diff --git a/init b/init
index 7d0db07..142eb14 100755
--- a/init
+++ b/init
@@ -175,6 +175,9 @@ for x in $(cat /proc/cmdline); do
netconsole=*)
netconsole=${x#netconsole=}
;;
+ BOOTIF=*)
+ BOOTIF=${x#BOOTIF=}
+ ;;
esac
done