Gentoo Archives: gentoo-dev

From: "Sven Köhler" <skoehler@×××.de>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] init.d-scripts don't see stuff from /etc/profile.env
Date: Tue, 23 Aug 2005 14:51:37
Message-Id: defcf0$i8a$1@sea.gmane.org
1 Hi,
2
3 i just wrote an init.d-script and i thought that the LANG variable was
4 inherited since it set system-wide in /etc/env.d/02locale and therefor
5 is also found in /etc/profile.env
6
7 Now i noticed, that LANG isn't set for the process started by my
8 init.d-script.
9
10 So what's the intension to ignore /etc/profile.env for init.d-script and
11 what's the gentoo-way of loading the all or specific variabled from
12 /etc/profile.env?
13
14 Thx
15 Sven

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies