This patch series adds support for some common mount arguments that have to be
handled in the initramfs.

It is also available at
http://git.fnordovax.org/dracut/log/?h=handle-more-parameters

---
 init |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/init b/init
index 358ef02..ee1123c 100755
--- a/init
+++ b/init
@@ -16,7 +16,7 @@ emergency_shell()
 getarg() {
     local o line
     for o in $CMDLINE; do
-       [ "${o%%=*}" = "$1" ] && { echo $o; break; }
+       [ "${o%%=*}" = "$1" ] && { echo $o; return 0; }
     done
     return 1
 }
-- 
1.6.0.6

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to