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

Re: LC_LANG and Init



Am Dienstag, 14. Dezember 2004 00:11 schrieb Miquel van Smoorenburg:
> In article <[🔎] 41BD6539.5090507@in.tum.de>,
>
> Christian Schaefer  <schaefer@in.tum.de> wrote:
> >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.
>
> aa:2:respawn:/bin/sh 'LC_LANG=de_whatever exec /bitte/bitte/ja'
>
> Mike.

That's even better than my tip. I think you missed the "-c" option to /bin/sh, 
so the correct line should look like this:

aa:2:respawn:/bin/sh -c 'LC_LANG=de_whatever exec /bitte/bitte/ja'

-Christian



Reply to: