PDA

View Full Version : running a script at boot



Gatorex
02-19-2004, 04:45 AM
Hi

I am using the ndiswrapper for my wireless card, and I am having troubles getting it to start at boot. I made a script to start the card. There should be a place to put the script where it will start the card on boot. On some distros it's like /etc/rc.d/rclocal or something similar to that.

Any help will be appreciated

Stephen
02-19-2004, 05:17 AM
Hi

I am using the ndiswrapper for my wireless card, and I am having troubles getting it to start at boot. I made a script to start the card. There should be a place to put the script where it will start the card on boot. On some distros it's like /etc/rc.d/rclocal or something similar to that.

Any help will be appreciated

Add similar to this to the file /etc/init.d/bootmisc.sh near the bottom.


if [ -r /path/to/file.sh ]; then
. /path/to/file.sh
fi

Gatorex
02-19-2004, 05:26 AM
works wonders, thanks Stephen