starting vdradmin-am with the right locale

Tobias Grimm pkg-vdr-dvb-devel@lists.alioth.debian.org
Tue, 17 May 2005 11:45:53 +0200


This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig3C528A6675CEDF4969640F2C
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hi!

A patched version of vdradmin (vdradmin-am) uses gettext for
localisation. This way it depends on LANG to be set correctly. It works
fine, if I start the init script by hand. But when the init script is
started by the system at boot time, LANG is not set and vdradmin starts
with an Englisch interface. How can this be solved? Should I source
/etc/environment in the init script or is there a better way?

bye,

Tobias

--------------enig3C528A6675CEDF4969640F2C
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQEVAwUBQom9WtuQ2Pwwa2eDAQLK1Af/SkUsyVXnTJxr2JmP4s5pohHFIFVe3A2M
Yqn93uixIHjGK66xWLfVUSwPTRcOwIiBl+kTb/ZN6emiH+gNLvweBSDmvUsOmtDN
3xcZuY+I/lckNw6UOdbi8wE9T6XMM0N/uW6F3CsN29RnmBf+BTaPkSArEvBFg5Y2
cHvfNuKoPWLjPKvjLZseZAfa79Y66KT8KEQZW8vcPBBShKLXwJpEUgOLvD8qJbHr
Bqf5GG1ZsjCwp209ozCMjGyZxBs4eZI6z6k7A2xQxvRG4Xq/c0dDCvm6sGnhRjG6
0JzdGWcsrYxMva9owFeFYQQovegJnWslIN2tECEPNLfrUE6YIM3c1g==
=dRpv
-----END PGP SIGNATURE-----

--------------enig3C528A6675CEDF4969640F2C--