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 IDE Removable Hard Drive Mobile Rack 5.25 Bay 50-Pin Tray + Maxtor 40GB
$49.99
Vintage Computer - PC Innovation Intel 486DX2 - Dos Ver 6.2 Windows 3.1
$250.00
Vintage Jetway J-620BF Socket 370 Celeron AT Motherboard SiS 620 Brand New
$75.00
🔥 RARE VINTAGE HP 2112A 21MX M-SERIES 16-BIT MINICOMPUTER HP
$299.99
Vintage Apple Pro Keyboard USB Mac M7803 **Used in box
$75.00
Vintage IBM Model M Keyboard 1391401 Buckling Spring PS/2 Keyboard 1988
$200.00
Apple Macintosh Classic M1420 Vintage Desktop Computer Model Macintosh Classic
$100.00
Vintage Apple Keyboard II Model M0487 & G5431 Mouse UNTESTED AS-IS
$59.99
Vintage Microsoft Visual Studio.NET Professional Software suite Version 2002 New
$82.00
Vintage Hewlett Packard HP 13181-60074 Circuit Card Assembly / Interface Board.
$135.37