diff -Nur --no-dereference smeserver-openvpn-s2s-0.2.old/createlinks smeserver-openvpn-s2s-0.2/createlinks --- smeserver-openvpn-s2s-0.2.old/createlinks 2022-11-29 15:22:13.693000000 -0500 +++ smeserver-openvpn-s2s-0.2/createlinks 2022-11-29 15:27:59.127000000 -0500 @@ -11,6 +11,8 @@ event_link("openvpn-s2s-genconf", "openvpn-s2s-update", "20"); event_link("openvpn-s2s-update-crl", "openvpn-s2s-update", "30"); event_link("openvpn-s2s-genconf", "bootstrap-console-save", "80"); +event_link("openvpn-s2s-jail", "bootstrap-console-save", "03"); +event_link("openvpn-s2s-jail", "openvpn-s2s-update", "03"); templates2events("/etc/rc.d/init.d/masq", qw/openvpn-s2s-update/); templates2events("/etc/crontab", qw/openvpn-s2s-update/); @@ -38,6 +40,7 @@ event_link("systemd-reload", $event, "50"); #action specific to this package +event_link("openvpn-s2s-jail", $event, "03"); event_link("openvpn-s2s-update", $event, "60"); #services we need to restart safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/openvpn-s2s"); diff -Nur --no-dereference smeserver-openvpn-s2s-0.2.old/root/etc/e-smith/events/actions/openvpn-s2s-jail smeserver-openvpn-s2s-0.2/root/etc/e-smith/events/actions/openvpn-s2s-jail --- smeserver-openvpn-s2s-0.2.old/root/etc/e-smith/events/actions/openvpn-s2s-jail 1969-12-31 19:00:00.000000000 -0500 +++ smeserver-openvpn-s2s-0.2/root/etc/e-smith/events/actions/openvpn-s2s-jail 2022-11-29 15:24:11.012000000 -0500 @@ -0,0 +1,7 @@ +#!/bin/bash + +#copy any files needed for the jail + +#be sure we have the needed timezone +/bin/cp -L /etc/localtime /etc/openvpn/s2s/etc +