Quick ?s
Cheat Sheets
Man Pages
The Lynx
Software
rcS(5)			 Debian Administrators Manual		       rcS(5)



NAME
       rcS - variables that affect the behavior of boot scripts

DESCRIPTION
       The /etc/default/rcS file contains variable settings in POSIX format:

	    VAR=VAL

       Only  one assignment is allowed per line.  Comments (starting with #)
       are also allowed.


OPTIONS
       The following variables can be set.  For the default values please  see
       /usr/share/initscripts/default.rcS.


       TMPTIME
	      On  boot the files in /tmp will be deleted if their modification
	      time is more than TMPTIME days ago.  A value  of	0  means  that
	      files are removed regardless of age.  If you dont want the sys
	      tem to clean /tmp then set TMPTIME to a  negative  value	(e.g.,
	      -1) or to the word infinite.


       SULOGIN
	      Setting  this  to yes causes init to spawn a sulogin on the con
	      sole early in the boot process.  If the administrator  does  not
	      login  then  the	sulogin session will time out after 30 seconds
	      and the boot process will continue.


       DELAYLOGIN
	      Normally the system will not let non-root users log in until the
	      boot  process  is complete and the system has finished switching
	      to the default runlevel (usually level 2).  However,  in	theory
	      it is safe to log in a bit earlier, namely, as soon as inetd has
	      started.	Setting the variable to no allows earlier login;  set
	      ting the variable to yes prevents it.

	      Some  details:  The  DELAYLOGIN variable controls whether or not
	      the file /var/lib/initscripts/nologin is created during the boot
	      process  and deleted at the end of it.  /etc/nologin is normally
	      a symbolic link to the latter location, and the login(1) program
	      refuses  to  allow  non-root  logins  so long as (the target of)
	      /etc/nologin exists.  If you set the variable to no then	it  is
	      advisable  to  ensure that /var/lib/initscripts/nologin does not
	      exist.


       UTC    This is used to govern how  the  hardware  real  time  clock  is
	      interpreted when it is read (e.g., at boot time, for the purpose
	      of setting the system clock) and when it is  written  (e.g.,  at
	      shutdown).  If this option is set to no then the system clock is
	      assumed to be set to local time.	If the option is  set  to  yes
	      then the system clock is assumed to be set to something approxi
	      mating Coordinated Universal Time (UTC).	(POSIX systems keep  a
	      variant of UTC, without leap seconds.)

	      On   contemporary  Debian  systems  (although  change  has  been
	      requested at http://bugs.debian.org/346342), if UTC is set to no
	      then  /usr/share/zoneinfo  must  be  readable  early in the boot
	      process.	If you want to keep /usr on a separate filesystem then
	      you  must  still ensure that the target of /etc/localtime points
	      to the correct zone information file for the time  zone  of  the
	      time kept in your hardware real time clock.


       VERBOSE
	      Setting  this  option  to  no (in lower case) will make the boot
	      process a bit less verbose.  Setting this  option  to  yes  will
	      make the boot process a bit more verbose.


       FSCKFIX
	      When  the  root  and all other file systems are checked, fsck is
	      invoked with the -a option which means "autorepair".   If  there
	      are  major  inconsistencies then the fsck process will bail out.
	      The system will print a  message	asking	the  administrator  to
	      repair  the  file  system  maually and will present a root shell
	      prompt (actually a sulogin prompt) on the console.  Setting this
	      option  to  yes  causes  the fsck commands to be run with the -y
	      option instead of the -a option.	This will tell fsck always  to
	      repair the file systems without asking for permission.


       RAMRUN Make  /var/run/  available  as  a ram file system (tmpfs).  Will
	      also disable cleaning of /var/run/ during boot.  Set to yes to
	      enable,  to  no to disable.  The size of the tmpfs can be con
	      trolled using TMPFS_SIZE and RUN_SIZE in /etc/defaults/tmpfs.


       RAMLOCK
	      Make /var/lock/ available as a ram file  system  (tmpfs).   Will
	      also  disable  cleaning of /var/lock/ during boot.  Set to yes
	      to enable, to no to disable.  The size of  the  tmpfs  can  be
	      controlled     using     TMPFS_SIZE     and     LOCK_SIZE     in
	      /etc/defaults/tmpfs.


       ASYNCMOUNTNFS
	      Set this to no to disable  asynchronous  mounting  of  network
	      drives  when  the network interfaces are mounted, and instead do
	      it only once when the machine boot.  The default is  yes.   It
	      is  useful to disable this on machines with the root file system
	      in NFS until ifup from ifupdown work proberly in such setup.


NOTE
       The EDITMOTD variable is no longer used.


AUTHOR
       Miquel van Smoorenburg 


SEE ALSO
       inetd(8), init(8), inittab(5), login(1).



				  16 Jan 2006				rcS(5)




Yals.net is © 1999-2009 Crescendo Communications
Sharing tech info on the web for more than a decade!
This page was generated Thu Apr 30 17:05:30 2009