.\" -*- coding: UTF-8 -*- .\" Copyright (C) 1998-2003 Miquel van Smoorenburg. .\" .\" This program is free software; you can redistribute it and/or modify .\" it under the terms of the GNU General Public License as published by .\" the Free Software Foundation; either version 2 of the License, or .\" (at your option) any later version. .\" .\" This program is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the .\" GNU General Public License for more details. .\" .\" You should have received a copy of the GNU General Public License .\" along with this program; if not, write to the Free Software .\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH INITSCRIPT 5 "10 de julio de 2003" "" "Manual del Administrador del Sistema Linux" .SH NOMBRE initscript \- guión que ejecuta órdenes inittab. .SH SINOPSIS /bin/sh /etc/initscript id niveles_de_ejecucion acción proceso .SH DESCRIPCIÓN Cuando el guión de entorno \fI/etc/initscript\fP existe, \fBinit\fP lo usará para ejecutar órdenes para \fIinittab\fP. Este guión puede ser usado para cosas como, por ejemplo, colocar los valores por defecto \fBulimit\fP y \fBumask\fP para cada proceso. .SH EJEMPLOS Este es un ejemplo de initscript, que se podría instalar en tu sistema como \fI/etc/initscript.sample\fP. .RS .sp .nf .ne 7 # # initscript Ejecutado por init(8) para cada programa, # requiere un formato como el siguiente # # /bin/sh /etc/initscript # # Colocamos umask para salvar el nivel, y permitir volcados de # memoria. 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 # Ejecutamos el programa. eval exec "$4" .sp .RE .SH NOTAS This script is not meant as startup script for daemons or somesuch. It has nothing to do with a \fIrc.local\fP style script. It's just a handler for things executed from \fB/etc/inittab\fP. Experimenting with this can make your system un(re)bootable. .SH ARCHIVOS /etc/inittab, /etc/initscript. .SH AUTOR Miquel van Smoorenburg , .SH "VÉASE TAMBIÉN" init(8), inittab(5). .SH TRADUCCIÓN La traducción al español de esta página del manual fue creada por Fidel García . Esta traducción es documentación libre; lea la .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 .UE o posterior con respecto a las condiciones de copyright. No existe NINGUNA RESPONSABILIDAD. Si encuentra algún error en la traducción de esta página del manual, envíe un correo electrónico a .MT debian-l10n-spanish@lists.debian.org>. .ME .