6 Commits

Author SHA1 Message Date
florian
8f6fab3fdd autossh: pass env variables on init properly
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 <fercerpav@gmail.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@34493 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-04 16:21:05 +00:00
jow
326ade1d0b [packages] autossh: fix syntax error in init script (#10920)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@30349 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-07 12:42:03 +00:00
nico
85c3afc080 packages/autossh: use new service functions
git-svn-id: svn://svn.openwrt.org/openwrt/packages@29072 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 22:16:12 +00:00
florian
36a90ece49 [package] autossh: increase reliability of connection behavior
patch from Paul Geraedts

git-svn-id: svn://svn.openwrt.org/openwrt/packages@28018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-16 20:34:24 +00:00
florian
ff1d7d7b71 [package] add autossh hotplug script, remove duplicate restart init script function (#4860)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@16985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-25 22:06:36 +00:00
florian
0fb2eccbac Add init and config files from #2624
git-svn-id: svn://svn.openwrt.org/openwrt/packages@9475 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-01 17:15:42 +00:00