1 |
unnilennium |
1.1 |
--- smeserver-openvpn-bridge-2.0/createlinks.update_networks 2009-06-25 12:32:16.000000000 +0200 |
2 |
|
|
+++ smeserver-openvpn-bridge-2.0/createlinks 2009-06-25 12:35:58.000000000 +0200 |
3 |
|
|
@@ -3,6 +3,8 @@ |
4 |
|
|
use esmith::Build::CreateLinks qw(:all); |
5 |
|
|
|
6 |
|
|
safe_symlink("restart", "root/etc/e-smith/events/openvpn-bridge-update/services2adjust/openvpn-bridge"); |
7 |
|
|
+safe_symlink("restart", "root/etc/e-smith/events/network-create/services2adjust/openvpn-bridge"); |
8 |
|
|
+safe_symlink("restart", "root/etc/e-smith/events/network-delete/services2adjust/openvpn-bridge"); |
9 |
|
|
|
10 |
|
|
service_link_enhanced("openvpn-bridge", "S80", "7"); |
11 |
|
|
service_link_enhanced("openvpn-bridge", "K25", "6"); |
12 |
|
|
@@ -21,7 +23,7 @@ |
13 |
|
|
templates2events("/etc/openvpn/bridge/openvpn.conf", "openvpn-bridge-update"); |
14 |
|
|
|
15 |
|
|
templates2events("/etc/openvpn/bridge/management-pass.txt", qw(openvpn-bridge-update bootstrap-console-save)); |
16 |
|
|
-templates2events("/etc/openvpn/bridge/openvpn.conf", qw(openvpn-bridge-update bootstrap-console-save)); |
17 |
|
|
+templates2events("/etc/openvpn/bridge/openvpn.conf", qw(openvpn-bridge-update bootstrap-console-save network-create network-delete)); |
18 |
|
|
templates2events("/etc/crontab", qw(openvpn-bridge-update)); |
19 |
|
|
|
20 |
|
|
event_link("openvpn-bridge-reload-ccd", qw(openvpn-bridge-update openvpn-bridge-reload-ccd), "20"); |