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

start up script operation



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

-------------------------------------------------------------------------
                     .........
John Kerr Anderson     `:::'                  .......  ......
jaanders@tm.net         :::  *                  `::.    ::'
Powered by:             ::: .::  .:.::.  .:: .::  `::. :'
                        :::  ::   ::  ::  ::  ::    .::.
     D E B I A N  G N U/::: .::. .::  ::.  `::::. .:'  ::.  2. 2
                     ...:::.....................::'   .::::..

UNIX is user friendly. It's just selective about who its friends are.
This E mail is 100% virus free!
How do I know?  Because no Microsoft products were used to generate it!
-------------------------------------------------------------------------



Reply to: