PDA

View Full Version : Adding a bash script to you starting up list



ska_p_te
10-26-2004, 10:16 PM
How can you add a bash script to you CD when you make the ISO that it autmaticly boots
Is it possible with the knoppix.sh adding to the CD ?

tnx

sgtdawg
10-28-2004, 06:10 PM
I'm not sure how the knoppix.sh works, but I know that you can add a script to rc5.d. This will run when it switches to runlevel 5, basically everytime you boot into the GUI. The location should be source/KNOPPIX/etc/rc5.d/

My script is linked back to ../init.d/ to match other distros.

ska_p_te
10-29-2004, 06:41 PM
hmmm

ok, but it needs to start in the text mode (runlevel 2) do I just need to change he rc2.d ?

sgtdawg
10-29-2004, 09:03 PM
if that's what runlevel you will be booting into.