BTS

Message2466

Author mru
Recipients mika, mru
Date 2009-09-09.15:12:15
Content
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
Files
File name Uploaded
old-0001-fixed-getbootparam-to-return-the-correct-parameter-o.patch mru, 2009-09-09.15:12:15
History
Date User Action Args
2009-09-09 15:12:18mrusetrecipients: + mru, mika
2009-09-09 15:12:18mrusetmessageid: <1252509138.0.0.883498293529.issue731@bts.grml.org>
2009-09-09 15:12:17mrulinkissue731 messages
2009-09-09 15:12:16mrucreate