]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit - config/backup/backup.pl
backup.pl: Fix for bug#11048 - add script for adding pass/no pass to ovpnconfig from...
authorAdolf Belka <adolf.belka@ipfire.org>
Sun, 15 Oct 2023 16:28:22 +0000 (18:28 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 20 Oct 2023 08:41:01 +0000 (08:41 +0000)
commit3f18addedeaa0f917c9a164484dedfaaa2008a69
treeadc7f9a21166a1d1c37a7ba18936552373746ec2
parent6c829050c8c758e554e584ecf6de41596fad2a4b
backup.pl: Fix for bug#11048 - add script for adding pass/no pass to ovpnconfig from backup

- A script was added to the update.sh script to add pass/no pass to the ovpnconfig entries
   but I forgot that this was also needed in the backup.pl file to add those statuses into
   any ovpnconfig file restored from a backup before the pass/no pass entries were added.
- This patch corrects that oversight.
- Confirmed by testing on my vm. Before the script added to backup.pl a restore of older
   ovpnconfig ended up not showing any icons or status elements. With the script in
   backup.pl confirmed that the restored ovpnconfig showed up in the WUI page correctly
   with the right icons and with the status elements correctly displayed.

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