Compatibility with OPNsense backups.

Line 28: #pfSense does'nt.
This commit is contained in:
Alvaro Sedano
2019-09-13 03:07:51 +02:00
committed by GitHub
parent 747245f599
commit d57fa46982

View File

@@ -25,7 +25,7 @@ Function Get-BeginEndWO {
Param([Parameter(Mandatory=$true, Position=0)][string]$path)
#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
[string[]]$text = Get-Content $path -Encoding UTF8