[syslinux] append parameter??
Marc Haisenko
haisenko at be-ok.com
Wed Mar 31 01:27:52 PST 2004
On Wednesday 31 March 2004 09:23, elmar bschorer wrote:
> i`am reading the given parameter in linuxrc with the following command:
>
> CMDLINE="$(cat /proc/cmdline)"
>
> to test if all went well i check it by executing:
>
> echo $CMDLINE
>
> in linuxrc. but nothing is beeing displayed!
> hmmm...what am i doing wrong??
I guess you don't have "cat" in your initrd... this is also another entry in
the "Useless use of cat" award ;-) Make that
CMDLINE=$(< /proc/cmdline)
which is more effective (bash does the work as opposed to cat) and try again
:-)
C'ya,
Marc
--
Marc Haisenko
Linux Solutions
Be O.K. service group GmbH
Rüdesheimer Straße 7
D-80686 München
Tel: +49 (0)89 - 54 84 99 73
Fax: +49 (0)89 - 54 84 99 28
e-mail: haisenko at be-ok.com
http://www.be-ok.com
More information about the Syslinux
mailing list