Quick ?s
Cheat Sheets
Man Pages
The Lynx
INITSCRIPT(5)	      Linux System Administrators Manual	INITSCRIPT(5)

       initscript - script that executes inittab commands.

       /bin/sh /etc/initscript id runlevels action process

       When  the  shell script /etc/initscript is present, init will use it to
       execute the commands from inittab.  This script	can  be  used  to  set
       things like ulimit and umask default values for every process.

       This is a sample initscript, which might be installed on your system as

	      # initscript   Executed by init(8) for every program it
	      # 	     wants to spawn like this:
	      # 	     /bin/sh /etc/initscript    

		# Set umask to safe level, and enable core dumps.
		umask 022
		ulimit -c 2097151
		export PATH

		# Increase the hard file descriptor limit for all processes
		# to 8192.  The soft limit is still 1024, but any unprivileged
		# process can increase its soft limit up to the hard limit
		# with "ulimit -Sn xxx" (needs a 2.2.13 or later Linux kernel).
		ulimit -Hn 8192

		# Execute the program.
		eval exec "$4"

       This script is not meant as startup script for daemons or somesuch.  It
       has nothing to do with a rc.local style script. Its just a handler for
       things executed from /etc/inittab. Experimenting  with  this  can  make
       your system un(re)bootable.

       /etc/inittab, /etc/initscript.

       Miquel van Smoorenburg ,

       init(8), inittab(5).

				 July 10, 2003			 INITSCRIPT(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