INITSCRIPT

Section: Linux System Administrator's Manual (5)
Updated: December 23, 1995
Index
Return to Main Contents
 

NAME

initscript - inittab ¸í·ÉÀ» ½ÇÇàÇÏ´Â ½ºÅ©¸³Æ®.  

SYNOPSIS

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

DESCRIPTION

/etc/initscript ÆÄÀÏÀÌ Á¸ÀçÇϸé, init´Â inittabÀ¸·Î ºÎÅÍ ¸í·ÉÀ» ½ÇÇàÇϱâ À§ÇØ ÀÌ ÆÄÀÏÀ» »ç¿ëÇÑ´Ù. ÀÌ ½ºÅ©¸³Æ®´Â ¸ðµç ÇÁ·Î¼¼½º¸¦ À§ÇÑ ulimit³ª umask ÃʱⰪ°°Àº °ÍÀ» ÁöÁ¤Çϴµ¥, »ç¿ëµÉ ¼ö ÀÖ´Ù.  

EXAMPLES

¾Æ·¡´Â initscriptÀÇ ÇÑ ¿¹Á¦ÀÌ´Ù. ÀÌ ÆÄÀÏÀº ÀÚ½ÅÀÇ ½Ã½ºÅÛ¿¡ /etc/initscript.sample ÆÄÀÏ·Î ÀÖÀ» °ÍÀÌ´Ù.


#
# initscript   Executed by init(8) for every program it
#              wants to spawn like this:
#
# /bin/sh /etc/initscript <id> <level> <action> <process>
#

# Set umask to safe level, and enable core dumps.
umask 022
ulimit -c 2097151
PATH=/bin:/sbin:/usr/bin:/usr/sbin
export PATH

# Execute the program.
eval exec "$4"


 

FILES

/etc/inittab, /etc/initscript.  

AUTHOR

Miquel van Smoorenburg ,<miquels@cistron.nl>  

SEE ALSO

init(8), inittab(5).


 

Index

NAME
SYNOPSIS
DESCRIPTION
EXAMPLES
FILES
AUTHOR
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 08:07:01 GMT, March 25, 2004