1 |
diff -Nur --no-dereference smeserver-openvpn-routed-0.1.6.old/createlinks smeserver-openvpn-routed-0.1.6/createlinks |
2 |
--- smeserver-openvpn-routed-0.1.6.old/createlinks 2022-07-23 23:00:36.525000000 -0400 |
3 |
+++ smeserver-openvpn-routed-0.1.6/createlinks 2022-07-23 23:01:12.820000000 -0400 |
4 |
@@ -56,3 +56,11 @@ |
5 |
event_link("openvpn-routed-update", $event, "60"); |
6 |
#services we need to restart |
7 |
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/openvpn-routed"); |
8 |
+ |
9 |
+ |
10 |
+use esmith::Build::Backup qw(:all); |
11 |
+backup_includes("smeserver-openvpn-routed", qw( |
12 |
+/etc/openvpn/routed/priv |
13 |
+/etc/openvpn/routed/pub |
14 |
+/var/log/openvpn-routed |
15 |
+)); |