Am Montag, 13. Dezember 2004 10:47 schrieb Christian Schaefer:
> Hi,
>
> how can I set environment variables for processes listed in
> /etc/inittab? Especially LC_LANG which is needed for correct running
> (german umlauts) of a backup client.
>
> The file /etc/environment doesn't seem to be the right place. I tried it
> also with putting the line '/usr/bin/env LC_ALL=en_US foo' into inittab
> instead of a simple 'foo' without any effect.
>
> Chris

Hello Chris, 

you could try to use a shell script like this:

#! /bin/sh
export [EMAIL PROTECTED]
foo


You need to verify that you are using a valid locale name! for me its 
"[EMAIL PROTECTED]". (You can verify it with the "locale" command)

-Christian


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to