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

Re: start up script operation



on Sun, Mar 18, 2001 at 02:28:23PM -0500, John Kerr Anderson (jaanders@tm.net) wrote:
> Hello,
> 
> I have entered a start up script named <sysinit> in the /etc/init.d
> directory.  I issued the command <update-rc.d sysinit start 20 2 3 4 5 .
> stop 20 0 16 .> which seemed to work OK.  When I restarted the computer
> the changes (starting hdparm & changing the text mode screen colours with
> setterm) failed to change the settings.  Is there something I'm doing
> wrong?  Do I need a separate file for each command?  Any help would be
> appreciated!  :-)
> 
> Here is my sysint file:
> 
> # speeds up I/O for the hard disk
> /sbin/hdparm -c3 -A1 -m8 /dev/hda
> 
> # these commands change the text consoles into blue background and white
> # foreground screen colours.
> /usr/bin/setterm -background blue -foreground white
> /usr/bin/setterm -store

Read the file /etc/init.d/README and references therein for general
information on the SysV init system.

I'd strongly recommend adapting /etc/init.d/skeleton to create a
suitable init file.

What are your file permissions -- executable helps.

-- 
Karsten M. Self <kmself@ix.netcom.com>    http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?       There is no K5 cabal
  http://gestalt-system.sourceforge.net/         http://www.kuro5hin.org

Attachment: pgpfXx9e39XOh.pgp
Description: PGP signature


Reply to: