]> 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 20:50:02 +0000 (22:50 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 2 Apr 2025 09:59:16 +0000 (09:59 +0000)
commitd38aabc45e2ef60da07178340e30e563c40a6052
tree880ecad0fa16a6acdd8ee029d093465d08e7b172
parent3014979c75a6e63cdb2698d1cf5c3ed9316fdccf
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