[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: LC_LANG and Init



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 LC_ALL=de_DE@euro
foo


You need to verify that you are using a valid locale name! for me its 
"de_DE@euro". (You can verify it with the "locale" command)

-Christian



Reply to: