On Wed, 2005-08-24 at 17:27 +0900, Georgi Georgiev wrote: > > uberpc init.d # ./test start > > * Starting service test > > LANG=en_GB.utf8 > > LANGUAGE=en_GB.utf8 > > set | grep LANG > > * Service test started OK > > Try unsetting the variable in your own shell first. > > lion init.d # /etc/init.d/test restart > LANG=en_US.utf8 > set | grep LANG > lion init.d # LANG=C /etc/init.d/test restart > LANG=C > set | grep LANG > lion init.d # env -u LANG /etc/init.d/test restart > set | grep LANG > \
Um, that's kinda like behaviour by design unless anyone can tell me otherwise. /etc/env.d/* just set shell variables, so if you change one then you need to env-update source /etc/profile /etc/init.d/thisdaemon restart To refresh the daemon that needs the vars -- Roy Marples <[EMAIL PROTECTED]> Gentoo Linux Developer
signature.asc
Description: This is a digitally signed message part