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
..
2012-06-13 00:22:25 +00:00
2012-06-09 23:31:35 +00:00
2011-07-03 21:05:42 +00:00
2012-08-04 17:01:59 +00:00
2012-08-04 18:42:11 +00:00
2012-08-03 21:35:40 +00:00
2012-08-22 10:02:33 +00:00
2012-07-15 14:55:24 +00:00
2012-07-12 18:33:45 +00:00
2012-09-10 08:51:10 +00:00
2011-11-30 12:44:11 +00:00
2012-08-04 17:02:04 +00:00
2012-06-11 23:30:31 +00:00
2012-08-04 17:02:10 +00:00
2012-08-03 21:35:51 +00:00
2011-05-27 01:02:35 +00:00
2012-08-04 18:42:05 +00:00
2012-08-13 14:08:30 +00:00
2010-10-08 20:38:17 +00:00
2012-08-04 18:42:09 +00:00
2011-01-01 06:54:37 +00:00
2012-06-13 00:22:10 +00:00
2012-06-12 01:56:58 +00:00
2012-08-13 14:08:47 +00:00
2012-10-16 15:55:51 +00:00
2011-12-14 10:16:37 +00:00
2012-08-04 17:02:15 +00:00
2010-09-04 16:04:39 +00:00
2012-08-04 17:02:01 +00:00
2011-11-18 23:14:03 +00:00
2012-06-29 21:09:42 +00:00
2012-01-31 04:37:45 +00:00
2012-09-25 14:21:52 +00:00
2012-10-16 15:55:45 +00:00