Am Dienstag, 14. Dezember 2004 00:11 schrieb Miquel van Smoorenburg:
> In article <[EMAIL PROTECTED]>,
>
> Christian Schaefer  <[EMAIL PROTECTED]> 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


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

Reply via email to