Re: [OpenWrt-Devel] [PATCH] [packages] autossh: pass env variables on init properly

2012-12-04 Thread Florian Fainelli
On Sunday 05 August 2012 13:38:26 Paul Fertser wrote: > Busybox's ash doesn't pass unexported environment variables to processes > started from within a function, so a service started with > > MMM=xyz service_start blablabla > > will never see the MMM variable. > > Fix this by exporting the impo

[OpenWrt-Devel] [PATCH] [packages] autossh: pass env variables on init properly

2012-08-05 Thread Paul Fertser
Busybox's ash doesn't pass unexported environment variables to processes started from within a function, so a service started with MMM=xyz service_start blablabla will never see the MMM variable. Fix this by exporting the important variables. Signed-off-by: Paul Fertser --- net/autossh/files/