mirror of
https://github.com/alvarsedano/pfSense-Certificate-Viewer.git
synced 2025-06-28 09:16:58 +00:00
Compatibility with OPNsense backups.
Line 28: #pfSense does'nt.
This commit is contained in:
parent
747245f599
commit
d57fa46982
@ -25,7 +25,7 @@ Function Get-BeginEndWO {
|
|||||||
Param([Parameter(Mandatory=$true, Position=0)][string]$path)
|
Param([Parameter(Mandatory=$true, Position=0)][string]$path)
|
||||||
|
|
||||||
#OPNsense saves on the xml encrypted file information about how to decrypt it.
|
#OPNsense saves on the xml encrypted file information about how to decrypt it.
|
||||||
#pfSense not.
|
#pfSense does'nt.
|
||||||
|
|
||||||
#Check if "^Version: OPNsense" exists in the line 2
|
#Check if "^Version: OPNsense" exists in the line 2
|
||||||
[string[]]$text = Get-Content $path -Encoding UTF8
|
[string[]]$text = Get-Content $path -Encoding UTF8
|
||||||
|
Loading…
x
Reference in New Issue
Block a user