[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How boot scripts?



On Mon, 30 Apr 2001 06:36:51 V.Suresh wrote:

> I want to do the following things during boot up:
>   1. insmod -f <a modem module>
>   2. setfont </path/to/consolefont/>
>     I Understand that I have to write a script. Okay, written. The
> script
> 	 executes fine. Now where do I put the script, and how do I make
> 	 it run during bootup?

Stick it in /etc/init.d and run the following command:

update-rc.d <script-name> defaults 25

On the other hand, you should probably look at modconf for controlling
your modules instead of using scripts.

M.



Reply to: