Skip to content

Commit

Permalink
Add 'AllowUntrust' package parameter for Synology
Browse files Browse the repository at this point in the history
  • Loading branch information
flcdrg committed Nov 10, 2024
1 parent 415d0b6 commit 2822f98
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Active Backup for Business is the all-in-one backup solution, designed for strea
- `/ProxyPort:` Proxy port only when your Synology NAS is required to be accessed via proxy.
- `/ProxyUsername:` Proxy username only when your Synology NAS is required to be accessed via proxy.
- `/ProxyPassword:` Proxy password only when your Synology NAS is required to be accessed via proxy.
- `/AllowUntrust:` if you want to connect to the Synology NAS using an IP address instead of a domain or DDNS.
Example installation with parameters:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ $checksum64 = '376cf897930ecb7b6a2daed165fee3fd34240cad1fa1669341806be6d4802c45'

$silentArgs = ""

# https://www.synology.com/en-us/knowledgebase/DSM/tutorial/Backup/How_to_customize_Active_Backup_for_Business_Agent_installer_for_mass_deployment
# https://kb.synology.com/en-global/DSM/tutorial/How_to_set_up_Active_Backup_for_Business_for_mass_deployment

if ($PackageParameters['Address']) {
$silentArgs += " ADDRESS=" + $PackageParameters['Address']
Expand Down Expand Up @@ -42,6 +42,10 @@ if ($PackageParameters.RemoveShortcut) {
$silentArgs += " NO_SHORTCUT=1"
}

if ($PackageParameters['ALLOW_UNTRUST']) {
$silentArgs += " ALLOW_UNTRUST=1"
}

Write-Output $silentArgs

$packageArgs = @{
Expand Down

0 comments on commit 2822f98

Please sign in to comment.