1 |
slords |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-openvpn-s2s-0.1/root/etc/e-smith/templates/etc/openvpn/s2s/openvpn-s2s.conf/70custom mezzanine_patched_smeserver-openvpn-s2s-0.1/root/etc/e-smith/templates/etc/openvpn/s2s/openvpn-s2s.conf/70custom |
2 |
|
|
--- smeserver-openvpn-s2s-0.1/root/etc/e-smith/templates/etc/openvpn/s2s/openvpn-s2s.conf/70custom 1970-01-01 01:00:00.000000000 +0100 |
3 |
|
|
+++ mezzanine_patched_smeserver-openvpn-s2s-0.1/root/etc/e-smith/templates/etc/openvpn/s2s/openvpn-s2s.conf/70custom 2010-10-17 14:09:05.000000000 +0200 |
4 |
|
|
@@ -0,0 +1,10 @@ |
5 |
|
|
+# Custom options |
6 |
|
|
+{ |
7 |
|
|
+ |
8 |
|
|
+my $custom = "/etc/openvpn/s2s/$key" . '.conf.custom'; |
9 |
|
|
+ |
10 |
|
|
+if ( -e "$custom" ){ |
11 |
|
|
+ Text::Template::_load_text("$custom"); |
12 |
|
|
+} |
13 |
|
|
+} |
14 |
|
|
+ |