Sponsored Content
Full Discussion: initscript
Top Forums UNIX for Dummies Questions & Answers initscript Post 49190 by urwannabefriend on Saturday 27th of March 2004 01:52:53 PM
Old 03-27-2004
initscript

hi...my project requires me to open the initscript of any server or daemon like xinetd and understand all the init tags etc and the coding that i have no idea about....any suggestions on how to proceed???
 

2 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

initscript questions

can anyone tell me what the following mean..... 1. ! bash/bin and what is its significance... 2. what are runlevels like 1, 2, 3, 4....what do they mean??? this was picked up from the /etc/init.d/crond file......its an initscript. (5 Replies)
Discussion started by: urwannabefriend
5 Replies

2. UNIX for Dummies Questions & Answers

initscript again

hi...thanx all of you for clearing out my previous doubts....but i have some more in the following, reload() { echo -n $"Reloading cron daemon configuration: " killproc crond -HUP retval=$? echo return $RETVAL 1. why is echo used here without any arguments??? 2.what does the... (1 Reply)
Discussion started by: urwannabefriend
1 Replies
INITSCRIPT(5)						Linux System Administrator's Manual					     INITSCRIPT(5)

NAME
initscript - script that executes inittab commands. SYNOPSIS
/bin/sh /etc/initscript id runlevels action process DESCRIPTION
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. EXAMPLES
This is a sample initscript, which might be installed on your system as /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 # 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" NOTES
This script is not meant as startup script for daemons or somesuch. It has nothing to do with a rc.local style script. It's just a handler for things executed from /etc/inittab. Experimenting with this can make your system un(re)bootable. FILES
/etc/inittab, /etc/initscript. AUTHOR
Miquel van Smoorenburg ,<miquels@cistron.nl> SEE ALSO
init(8), inittab(5). July 10, 2003 INITSCRIPT(5)
All times are GMT -4. The time now is 12:57 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy