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 S-100 California Computer Systems cards Z80 cpu + ADS PromBlaster
$895.00
Vintage Computer - PC Innovation Intel 486DX2 - Dos Ver 6.2 Windows 3.1
$250.00
🔥 RARE VINTAGE HP 2113A 21MX 1000 E-SERIES MINICOMPUTER CHASSIS BACKPLANE
$249.00
🔥 RARE VINTAGE HP 2112A 21MX M-SERIES 16-BIT MINICOMPUTER HP
$299.99
Vintage Macintosh Compuserve Version 1 Membership Kit PC Magazine Mac New Sealed
$999.99
Vintage Apple IIgs 3.5” & 5.25” Floppy Disk Drives A9M0106 A9M0107 Untested
$115.00
Vintage Computer Sun Ultra 1 UltraSpark Driven - Mystery condition as-is Parts
$49.78
Panasonic Toughbook CF-29 Vintage Computer - Not Working parts
$89.95
Vintage Jetway J-620BF Socket 370 Celeron AT Motherboard SiS 620 Brand New
$75.00
HP 5060-8359 8K Semiconductor Memory Module 5080-9747 Vintage HP Computer
$224.72