[issue731] getbootparam returns wrong parameter
Ulrich Dangel
bts at bts.grml.org
Wed Sep 9 17:12:18 CEST 2009
New submission from Ulrich Dangel <schula at grml.org>:
getbootparam returns the wrong parameter if option name is a substring of
another option
Attached patch should fix this.
example:
[~ ] -> source /etc/grml/autoconfig.functions
[~ ] -> export CMDLINE='apm=power-off vga=791 quiet
initrd=/boot/grmldailysid/initrd.gz boot=live nomce noeject ssh=grml noprompt
noquick config scripts=/live/image/unp.sh netconfig=192.168.0.1/config.tbz'
[~ ] -> getbootparam config
apm=power-off
----------
assignedto: mika
files: 0001-fixed-getbootparam-to-return-the-correct-parameter-o.patch
messages: 2466
nosy: mika, schula
priority: bug
status: unread
title: getbootparam returns wrong parameter
_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue731>
_____________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-fixed-getbootparam-to-return-the-correct-parameter-o.patch
Type: text/x-diff
Size: 829 bytes
Desc: not available
URL: <http://ml.grml.org/pipermail/bugs-changes/attachments/20090909/a16d7e62/attachment-0001.patch>
More information about the Bugs-changes
mailing list