projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cead59
)
tiny fixup to getarg to make handling more arguments slightly easier
author
Victor Lowther
<victor.lowther@gmail.com>
Sat, 21 Feb 2009 16:24:20 +0000
(08:24 -0800)
committer
Dave Jones
<davej@redhat.com>
Mon, 23 Feb 2009 18:22:01 +0000
(13:22 -0500)
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
patch
|
blob
|
history
diff --git
a/init
b/init
index
358ef02
..
ee1123c
100755
(executable)
--- 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
}