]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commit
backup.pl: Fixes bug13737 - restarts ipsec to use the restored certs etc
authorAdolf Belka <adolf.belka@ipfire.org>
Tue, 1 Apr 2025 18:08:00 +0000 (20:08 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 2 Apr 2025 09:57:09 +0000 (09:57 +0000)
commit1fda10e584da6b99237c94aa4e652d97589c7df6
tree36ca84ebe1624da15af3bd78a8e0277a7e557440
parent85c0d3c1c73dfd8f625c99256f0e1706979b895e
backup.pl: Fixes bug13737 - restarts ipsec to use the restored certs etc

- This adds a check if the ipsec server is enabled. If it is then ipsecctrl is run to
   restart ipsec and ensure that the restored certs are all being used.
- Tested this out on my vm testbed and confirmed that with this I could restore a backup
   and make the client connection as previously set up.
- Without this I had to press the Save button on the ipsec WUI page to get the certs
   etc being used.

Fixes: bug13737
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/backup/backup.pl