-
Passing arguments to knoppix.sh via boot options
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.
Similar Threads
-
By kernco in forum Customising & Remastering
Replies: 4
Last Post: 04-05-2005, 08:35 AM
-
By knopphead in forum Hardware & Booting
Replies: 2
Last Post: 04-25-2004, 08:05 AM
-
By Tea_Fiend in forum General Support
Replies: 2
Last Post: 02-17-2004, 08:03 PM
-
By Journey44 in forum General Support
Replies: 3
Last Post: 01-27-2004, 05:56 AM
-
By ktheking in forum Customising & Remastering
Replies: 3
Last Post: 03-30-2003, 06:52 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM
$1499.00

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00

Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD
$99.99

867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001
$245.00

A Mini Windows Server w Xeon E3 Processor & (2) 500GB Hard Drive-Home/Industrial
$309.00

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W
$524.99

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO
$308.00

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$409.99

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb
$374.99

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM
$699.00