diff -Nur --no-dereference smeserver-softethervpn-server-4.34.old/createlinks smeserver-softethervpn-server-4.34/createlinks --- smeserver-softethervpn-server-4.34.old/createlinks 2023-03-06 21:57:00.787000000 -0500 +++ smeserver-softethervpn-server-4.34/createlinks 2023-03-06 22:54:44.160000000 -0500 @@ -9,7 +9,7 @@ $event="smeserver-softethervpn-server-update"; foreach my $file (qw( /etc/systemd/system-preset/49-koozali.preset - /etc/raddb/users + /etc/raddb/mods-config/files/authorize /etc/httpd/conf/httpd.conf )) { @@ -27,3 +27,12 @@ safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/bridge"); safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/vpnserver"); +use esmith::Build::Backup qw(:all); +backup_includes($pkg, qw( +/usr/vpnserver/vpn_server.config +/usr/vpnserver/backup.vpn_server.config/ +/usr/vpnserver/chain_certs/ +/usr/vpnserver/packet_log/ +/usr/vpnserver/security_log/ +/usr/vpnserver/server_log/ +)); diff -Nur --no-dereference smeserver-softethervpn-server-4.34.old/root/etc/e-smith/templates/etc/raddb/mods-config/files/authorize/40ldap smeserver-softethervpn-server-4.34/root/etc/e-smith/templates/etc/raddb/mods-config/files/authorize/40ldap --- smeserver-softethervpn-server-4.34.old/root/etc/e-smith/templates/etc/raddb/mods-config/files/authorize/40ldap 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-softethervpn-server-4.34/root/etc/e-smith/templates/etc/raddb/mods-config/files/authorize/40ldap 2020-03-28 15:06:59.000000000 -0400 @@ -0,0 +1,2 @@ +DEFAULT Auth-Type := LDAP + diff -Nur --no-dereference smeserver-softethervpn-server-4.34.old/root/etc/e-smith/templates/etc/raddb/users/40ldap smeserver-softethervpn-server-4.34/root/etc/e-smith/templates/etc/raddb/users/40ldap --- smeserver-softethervpn-server-4.34.old/root/etc/e-smith/templates/etc/raddb/users/40ldap 2020-03-28 15:06:59.000000000 -0400 +++ smeserver-softethervpn-server-4.34/root/etc/e-smith/templates/etc/raddb/users/40ldap 1969-12-31 19:00:00.000000000 -0500 @@ -1,2 +0,0 @@ -DEFAULT Auth-Type := LDAP -