-

Originally Posted by
mmaki
I'm sure there are better and more efficient ways of doing this but this should work. And I assume this is after a HD install.
Creat a text file that begins with #! /bin/sh and follow with the commands you want executed.
Save your file in the /etc/rc5.d directory.
Make sure your file name starts with S99
Make sure it is executable by root (I believe).
It will now be one of the last scripts to be executed when your computer to boots (at least to the KNOPPIX default run level 5).
This assumes that one is using the Knoppix off of the hard drive, and that the user is entering run level 5.
If you are using a console-based program, you might be entering run level 2, in which case the program should be put into /etc/rc2.d. Make sure the program has permissions of 755 (rwxr-xr-x).
Better yet is to put the program into /etc/init.d and put a link in /etc/rc2.d:
cd /etc/rc2.d
ln -s ../init.d/myprog S99myprog
Notice that the link starts with S99 but the standard program does not.
Another way which works with the Knoppix CD is to put a shell script on a floppy and enter "floppyconfig" at the command line. With a console-based program, you probably want to use the "2" option also.
Similar Threads
-
By darksky in forum General Support
Replies: 1
Last Post: 02-20-2005, 03:50 AM
-
By necokop in forum Networking
Replies: 9
Last Post: 05-25-2004, 05:14 PM
-
By fkbangun in forum Networking
Replies: 1
Last Post: 06-27-2003, 08:33 AM
-
By KnoppIXuser in forum Customising & Remastering
Replies: 1
Last Post: 04-30-2003, 09:55 AM
-
By maddany in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 04-16-2003, 02:19 AM
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

HP-New-P49653-B21 _ HP INT XEON-G 5416S CPU FOR Compatible with HPE
$2200.00

NEW HP Z4 G4 Workstation Xeon W-2123 16GB ECC 256GB NVMe NVIDIA T400 750W Win11
$450.00

Intel Xeon Phi 5110P 60-Core 1.053GHz Coprocessor
$50.00

Lenovo ThinkStation P520c TWR Xeon W-2123, 8GB DDR4, NO SSD/OS, Quadro K2000 #95
$219.99

Intel Xeon E5-2680 V2 2.8GHz 10-Core 25MB 8GT/s SR1A6 LGA2011 B Grade Server CPU
$7.95

Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS
$179.98

Lenovo ThinkStation P520c Intel Xeon W-2133 6-Core 3.60GHz -NO RAM/ HDD/ GPU/ OS
$127.54

Dell T7910 Workstation Tower Homelab AI Server PC - Xeon CPU - NO HDD/RAM/GPU
$279.99

Dell Precision 5820 Tower Intel Xeon W-2123 32GB 2TB Quadro P2000 Win 11 Pro
$449.99

Dell Precision Tower 7810 Xeon E5-2630 v3 @ 2.40GHz , 32GB Ram, NO HDD, NO OS
$239.99