Fix non-functional init_opts parameter, bug #422471
authorToralf Förster <toralf.foerster@gmx.de>
Thu, 22 Nov 2012 22:13:17 +0000 (17:13 -0500)
committerRichard Yao <ryao@cs.stonybrook.edu>
Thu, 22 Nov 2012 22:17:16 +0000 (17:17 -0500)
If INIT_OPTS='' is not specified before the argument loop, scoping rules
will prevent it from being seen by the switch_root invocation.

Signed-off-by: Toralf Förster <toralf.foerster@gmx.de>
Signed-off-by: Richard Yao <ryao@gentoo.org>
defaults/linuxrc

index 4166396c481d06b0feddd5bfec97413822b34bef..f1e20ce9e2c23f90f22b7ae74c263d0ab2e59dd4 100755 (executable)
@@ -38,6 +38,7 @@ CMDLINE=$(cat /proc/cmdline)
 FAKE_ROOT=''
 FAKE_INIT=''
 REAL_ROOTFLAGS=''
+INIT_OPTS=''
 ROOTFSTYPE='auto'
 CRYPT_SILENT=0