[plug] boot config

Ryan ryan at is.as.geeky.as
Mon Mar 17 21:11:48 WST 2003


On 17 Mar 2003 20:25:04 +0800 William Kenworthy <billk at iinet.net.au> wrote:

> How does one read an argument passed from the kernel boot line on
> bootup.  I can see how you specify it at the grub end (in my case) such
> as "ide-scsi=hdd", but I want to pass something to one of my own
> scripts, e.g., "location=HOME", so how can one of my scripts access the
> boot line?

cat /proc/cmdline

Ryan



More information about the plug mailing list