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.

OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 64GB SSD 8x NIC QAT AES VPN
$155.00
pfSense Firewall 16-Core Atom C3958 8GB DDR4 RAM 64GB SSD 8x 1Gbe QAT AES-NI VPN
$184.99
OPNsense pfSense 16-Core Atom C3958 16GB ECC RAM 512GB SSD 8-Port QAT AES-NI VPN
$288.00
Zero Trace Pen: All-in-one Tor Network Anonymous Drive + Cryptocurrency Wallet
$147.00
Fortinet FortiGate 60F FG-60F P24286-03-13 Network Firewall Security Appliance
$155.75
Palo Alto PA-220 Next-Gen Firewall 520-000309-00J
$40.00
Fortinet FortiGate 60F FG-60F UTM UTP License Until 2027 Network Security FW VPN
$199.99
Firewalla Gold Pro - 10 Gbps Cyber Security Firewall
$680.00
SonicWall TZ280 Firewall 03-SSC-6933 Advanced Edition 3YR NEW SEALED
$999.99
Cisco Meraki MX67-HW Security Appliance Firewall NEW Unused Unclaimed
$202.50