[ltp] Automatically running programs on startup

IBM ThinkPad linux-thinkpad@www.bm-soft.com
Wed, 28 Aug 2002 01:11:02 +0200 (CEST)



> >>I need to have my computer automatically run the following on startup and
> >>I cannot figure out how to do it
> >>
> >>cardctl insert
> >>ifconfig eth0 up
> >>
> >>both run in Boot mode.
> >>
> >
> > try
> >
> > /etc/rc.d/boot.local
> >
> > or something like that. that's the place where you can put your
> > own stuff.
>
> What is the problem in the first place?  I had a PCMCIA Ethernet card that would come up on boot but the eth0 configuration would fail.  I solved the problem by rearranging the file names in /etc/rc.d/rc3.d so the pcmcia ran earlier in the sequence.  The files are executed in alpha order, just change the number in the name to rearrange the order.

I think the problem was a missing entry in /etc/modules.conf, but this
file is somehow only for sophisticated users ;).



----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html