]> git.pld-linux.org Git - projects/rc-scripts.git/blame - rc.d/rc.init
usbfs is deprecated for some time.
[projects/rc-scripts.git] / rc.d / rc.init
CommitLineData
568b1679 1#!/bin/sh
22835800 2# $Id$
568b1679
ER
3#
4# If this script is intalled as /etc/rc.d/rc.init,
5# it is executed by init(8) for every program it
6# wants to spawn like this:
7#
8# /bin/sh /etc/rc.d/rc.init <id> <level> <action> <process>
9#
10# It can be used to set the default umask and ulimit
11# of all processes. See initscript(5) for more details.
12
13[ -r /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n
14
15[ -n "$LANG" ] && export LANG || unset LANG
16[ -n "$LC_CTYPE" ] && export LC_CTYPE || unset LC_CTYPE
17[ -n "$LC_COLLATE" ] && export LC_COLLATE || unset LC_COLLATE
18[ -n "$LC_MESSAGES" ] && export LC_MESSAGES || unset LC_MESSAGES
19[ -n "$LC_NUMERIC" ] && export LC_NUMERIC || unset LC_NUMERIC
20[ -n "$LC_MONETARY" ] && export LC_MONETARY || unset LC_MONETARY
21[ -n "$LC_TIME" ] && export LC_TIME || unset LC_TIME
22[ -n "$LC_ALL" ] && export LC_ALL || unset LC_ALL
23[ -n "$LANGUAGE" ] && export LANGUAGE || unset LANGUAGE
24[ -n "$LINGUAS" ] && export LINGUAS || unset LINGUAS
25
26# Execute the program.
27eval exec "$4"
This page took 0.043642 seconds and 4 git commands to generate.