Maybe there is a way to initialize environment variables at boot time ?
Hello,
I would like to make a cluster of knoppix machines, and therefore I've added a client package on my Knoppix CD. An executable in this package is launched via the knoppix.sh script placed at the root of the cdrom, thus it's launched when knoppix starts.
My problem is that I don't know how to pass arguments at boot time to this script, in order to configure my cluster client.
Any idea ?
Thanks !
PS : sorry for my strange english![]()
Maybe there is a way to initialize environment variables at boot time ?
The linuxrc script gets at the boot command line by setting a shell variable like this:
CMDLINE="$(cat /proc/cmdline)"
and in my system at least, the file /proc/cmdline still contains the boot command after the boot is complete so you should be able to use this to do what you need.
Best Wishes
Pete
Thanks, I will test that.

Vintage Apple II Avant-Garde Creations Super Shape Draw And Animate 1981
$295.00
Apple Macintosh Classic M1420 Vintage Desktop Computer Model Macintosh Classic
$100.00
Vintage Apple Macintosh Plus Desktop Computer - M0001A
$150.00
Vintage Apple Rainbow Metal Case Emblem Logo rectangle
$49.99
Vintage Apple USB Puck Mouse Model M4848 Grape Purple Tested
$49.99
LARGE LOT Vintage Apple Macintosh Mouse Cables Accessories SCSI etc - UNTESTED
$80.00
Vintage Apple II Arcade Game Galactic Wars Apple Computer NOS Sealed
$125.00
Lot of 3 VIntage Apple Computer Rainbow Logo Sticker Decal Macintosh 1980s NOS
$7.00
Vintage Apple III Motherboard Logic Board 820-0043-00 E Fully Populated Tested
$210.00
Vintage Apple Multiple Scan 15av Display Monitor M4681
$299.99