starting vdradmin-am with the right locale

Thomas Schmidt pkg-vdr-dvb-devel@lists.alioth.debian.org
Sat, 21 May 2005 14:32:04 +0200


--61jdw2sOBCFtR2d/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Tobias Grimm schrieb am 17.05.05, um 11:45 Uhr:
> 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?

Yes, sourcing /etc/environment should be the easiest and best way for=20
doing this - alternatively we can export these variables in
/etc/default/vdradmin, but i guess this is not as good as using
/etc/environment.


Regards,
Thomas

--=20
Thomas Schmidt, Debian VDR Team
http://pkg-vdr-dvb.alioth.debian.org/

--61jdw2sOBCFtR2d/
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFCjypEc9+NqwoydlIRAnb3AJ9X2MZGFYIEv4GGRHSJMXRS99n6+gCeP2gG
SD4u3Og7xhyQmryK7Kaoa7g=
=1bNa
-----END PGP SIGNATURE-----

--61jdw2sOBCFtR2d/--