Package: openvpn
Severity: wishlist

The attached patch to /etc/network/if-up.d/openvpn allows for starting
more than one tunnel when an interface is configured using ifup/ifdown.
-- 
Sam Couter         |  mailto:[EMAIL PROTECTED]
                   |  jabber:[EMAIL PROTECTED]
OpenPGP fingerprint:  A46B 9BB5 3148 7BEA 1F05  5BD5 8530 03AE DE89 C75C
--- openvpn.orig	2008-03-25 16:42:53.000000000 +1100
+++ openvpn	2008-03-25 16:43:47.000000000 +1100
@@ -7,5 +7,7 @@
 fi
 
 if [ -n "$IF_OPENVPN" ]; then
-  $OPENVPN start $IF_OPENVPN
+  for vpn in $IF_OPENVPN; do
+    $OPENVPN start $vpn
+  done
 fi

Attachment: signature.asc
Description: Digital signature



Reply via email to