Browse Source

change hooks priority

HgO 1 year ago
parent
commit
11d903d853
1 changed files with 8 additions and 9 deletions
  1. 8 9
      scripts/backup

+ 8 - 9
scripts/backup

@@ -39,15 +39,14 @@ ynh_backup --src_path="/etc/openvpn/client.conf" --not_mandatory
 ynh_backup --src_path="/etc/openvpn/client.cube" --not_mandatory
 ynh_backup --src_path="/etc/openvpn/client.ovpn" --not_mandatory
 
-ynh_backup --src_path="/etc/openvpn/scripts/route-up.d/20-set-ipv6"
-ynh_backup --src_path="/etc/openvpn/scripts/route-up.d/20-set-server-ipv6-route"
-ynh_backup --src_path="/etc/openvpn/scripts/route-up.d/30-set-dns"
-ynh_backup --src_path="/etc/openvpn/scripts/route-up.d/30-set-firewall"
-ynh_backup --src_path="/etc/openvpn/scripts/route-up.d/99-validate"
-ynh_backup --src_path="/etc/openvpn/scripts/route-down.d/20-unset-ipv6"
-ynh_backup --src_path="/etc/openvpn/scripts/route-down.d/20-unset-server-ipv6-route"
-ynh_backup --src_path="/etc/openvpn/scripts/route-down.d/30-unset-dns"
-ynh_backup --src_path="/etc/openvpn/scripts/route-down.d/30-unset-firewall"
+ynh_backup --src_path="/etc/openvpn/scripts/route-up.d/10-set-firewall"
+ynh_backup --src_path="/etc/openvpn/scripts/route-up.d/20-set-dns"
+ynh_backup --src_path="/etc/openvpn/scripts/route-up.d/30-set-server-ipv6-route"
+ynh_backup --src_path="/etc/openvpn/scripts/route-up.d/40-set-ipv6"
+ynh_backup --src_path="/etc/openvpn/scripts/route-down.d/10-unset-firewall"
+ynh_backup --src_path="/etc/openvpn/scripts/route-down.d/20-unset-dns"
+ynh_backup --src_path="/etc/openvpn/scripts/route-down.d/30-unset-server-ipv6-route"
+ynh_backup --src_path="/etc/openvpn/scripts/route-down.d/40-unset-ipv6"
 
 ynh_backup --src_path="/etc/openvpn/keys/"
 ynh_backup --src_path="/etc/openvpn/scripts/run-parts.sh"