~vcs-imports/ipfire/ipfire-2.x

  • Committer: Michael Tremer
  • Author(s): Adolf Belka
  • Date: 2023-10-20 08:41:01 UTC
  • Revision ID: git-v1:3f18addedeaa0f917c9a164484dedfaaa2008a69
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>
Filename Latest Rev Last Changed Committer Comment Size
..
config 2 18 years ago ipfire git-svn-id: http://svn.ipfire.org/svn/ipfire/IPF Diff
doc 2 18 years ago ipfire git-svn-id: http://svn.ipfire.org/svn/ipfire/IPF Diff
html 2 18 years ago ipfire git-svn-id: http://svn.ipfire.org/svn/ipfire/IPF Diff
langs 2 18 years ago ipfire git-svn-id: http://svn.ipfire.org/svn/ipfire/IPF Diff
lfs 2 18 years ago ipfire git-svn-id: http://svn.ipfire.org/svn/ipfire/IPF Diff
src 2 18 years ago ipfire git-svn-id: http://svn.ipfire.org/svn/ipfire/IPF Diff
tools 2 18 years ago ipfire git-svn-id: http://svn.ipfire.org/svn/ipfire/IPF Diff
.gitignore 9713 2 years ago Arne Fitzenreiter gitignore: add *.b2 checksum files Signed-off-by: 159 bytes Diff Download File
.mailmap 8754 3 years ago Michael Tremer .mailmap: Add Adolf Belka Signed-off-by: Michael 1.6 KB Diff Download File
File make.sh 11814 8 months ago Michael Tremer Merge branch 'master' into next 49.7 KB Diff Download File
README.md 9598 2 years ago Peter Müller Improve README and CONTRIBUTING - Strip tailing w 1 KB Diff Download File