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

Re: How boot scripts?



On Mon, Apr 30, 2001 at 11:36:51AM +0600, 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?

For this kind of script, it shall be started in rcS.d and actual script
located in init.d.  see man update-rc.d.  But debian already has script.
So you need to feed information to them.

For your first problem, debian can deal it much simply.  Add these
module names listed in /etc/modules.  That all you need to do.

For 2nd item, consle-screen.h in /etc/init.d looks like one to start
looking for answer.  /etc/console-tools/config seems to be one to edit.
(This, I have never done it, but script looks so.)

Osamu
--
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ 
+  Osamu Aoki <debian@aokiconsulting.com>, GnuPG-key: 1024D/D5DE453D  +
+  My debian quick-reference, http://www.aokiconsulting.com/quick/    +



Reply to: