tiny fixup to getarg to make handling more arguments slightly easier
Gitweb: http://git.kernel.org/?p=linux/kernel/git/davej/dracut.git;a=commit;h=27994f9e28546e0bcf352b5217c54ff287183789 Commit: 27994f9e28546e0bcf352b5217c54ff287183789 Parent: 9cead591ad8fa7de856d4dc3777bb7c155a6d3b8 Author: Victor Lowther <[email protected]> AuthorDate: Sat Feb 21 08:24:20 2009 -0800 Committer: Dave Jones <[email protected]> CommitDate: Mon Feb 23 13:22:01 2009 -0500
tiny fixup to getarg to make handling more arguments slightly easier
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(-)
init +1 -1
@@ -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 }
--
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