On Tuesday 30 August 2005 05:32 pm, Roy Marples wrote:
> On Thu, 2005-08-25 at 12:01 +0200, Paul de Vrieze wrote:
> > On Wednesday 24 August 2005 12:04, Roy Marples wrote:
> > > Um, that's kinda like behaviour by design unless anyone can tell me
> > > otherwise.
> > >
> > > /etc/env.d/* just set sh
Roy Marples wrote:
>I just love replying to myself!
>
>On Tue, 2005-08-30 at 22:32 +0100, Roy Marples wrote:
>
>
>>#!/bin/sh
>>
>>/bin/env -i \
>>CONSOLETYPE="${CONSOLETYPE}" \
>>IN_BACKGROUND="${IN_BACKGROUND}" \
>>IN_HOTPLUG="${IN_HOTPLUG}" \
>>/lib/rcscripts/sh/runscript.sh $*
I just love replying to myself!
On Tue, 2005-08-30 at 22:32 +0100, Roy Marples wrote:
> #!/bin/sh
>
> /bin/env -i \
> CONSOLETYPE="${CONSOLETYPE}" \
> IN_BACKGROUND="${IN_BACKGROUND}" \
> IN_HOTPLUG="${IN_HOTPLUG}" \
> /lib/rcscripts/sh/runscript.sh $*
A quick reboot shows we nee
On Thu, 2005-08-25 at 12:01 +0200, Paul de Vrieze wrote:
> On Wednesday 24 August 2005 12:04, Roy Marples wrote:
> >
> > 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
> >
>
On Wednesday 24 August 2005 12:04, Roy Marples wrote:
>
> 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
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 # /et
maillog: 24/08/2005-08:26:26(+0100): Roy Marples types
> On Tue, 2005-08-23 at 16:33 +0200, Sven Köhler wrote:
> > Hi,
> >
> > i just wrote an init.d-script and i thought that the LANG variable was
> > inherited since it set system-wide in /etc/env.d/02locale and therefor
> > is also found in /etc
On Tue, 2005-08-23 at 16:33 +0200, Sven Köhler wrote:
> Hi,
>
> i just wrote an init.d-script and i thought that the LANG variable was
> inherited since it set system-wide in /etc/env.d/02locale and therefor
> is also found in /etc/profile.env
Did you env-update?
>
> Now i noticed, that LANG is
Hi,
i just wrote an init.d-script and i thought that the LANG variable was
inherited since it set system-wide in /etc/env.d/02locale and therefor
is also found in /etc/profile.env
Now i noticed, that LANG isn't set for the process started by my
init.d-script.
So what's the intension to ignore /e