From 3082bb54b50886f2b7a9d13981633df9432d53e1 Mon Sep 17 00:00:00 2001 From: alhdo Date: Tue, 14 Nov 2023 16:35:21 +0100 Subject: [PATCH] Fix script text and typos --- retrieve/templates/windows/install.ps1 | 14 ++++++++------ retrieve/templates/windows/update.ps1 | 20 +++++++++++--------- retrieve/templates/windows/update_init.ps1 | 2 +- 3 files changed, 20 insertions(+), 16 deletions(-) diff --git a/retrieve/templates/windows/install.ps1 b/retrieve/templates/windows/install.ps1 index a929f47..4ee2eec 100644 --- a/retrieve/templates/windows/install.ps1 +++ b/retrieve/templates/windows/install.ps1 @@ -219,12 +219,14 @@ function Finish # Thanks for using - _____ _____ _ - | __ \| __ \ | | - | |__) | |__) |__ _ __| |_ - | _ /| ___/ _ \| '__| __| - | | \ \| | | (_) | | | |_ - |_| \_\_| \___/|_| \__| + ____ _____ _____ _ + / __ \ | __ \| __ \ | | + | | | |_ __ ___ _ __ | |__) | |__) |__ _ __| |_ + | | | | '_ \ / _ \ '_ \| _ /| ___/ _ \| '__| __| + | |__| | |_) | __/ | | | | \ \| | | (_) | | | |_ + \____/| .__/ \___|_| |_|_| \_\_| \___/|_| \__| + | | + |_| " } diff --git a/retrieve/templates/windows/update.ps1 b/retrieve/templates/windows/update.ps1 index bcdb5b9..353ef10 100644 --- a/retrieve/templates/windows/update.ps1 +++ b/retrieve/templates/windows/update.ps1 @@ -188,7 +188,7 @@ function Add-FileRecption ## Receive files pushed by the server, enabled by default # enabled = true ## The rport client will reject writing files to any of the following folders and its subfolders. - ## https://oss.rport.io/docs/no18-file-upload.html + ## https://oss.openrport.io/docs/no18-file-upload.html ## Wildcards (glob) are supported. ## Linux defaults # protected = ['/bin', '/sbin', '/boot', '/usr/bin', '/usr/sbin', '/dev', '/lib*', '/run'] @@ -208,7 +208,7 @@ function Add-Monitoring Add-Content -Path $configFile -Value " [monitoring] ## The rport client can collect and report performance data of the operating system. - ## https://oss.rport.io/docs/no17-monitoring.html + ## https://oss.openrport.io/docs/no17-monitoring.html ## Monitoring is enabled by default enabled = true ## How often (seconds) monitoring data should be collected. @@ -278,7 +278,7 @@ function Add-WatchdogIntegration ## Write a state file to {data_dir}/state.json that can be evaluated by external watchdog implementations. ## On Linux this also enables the systemd watchdog integration by using the systemd notify socket. ## Requires max_retry_count = -1 and keep_alive > 0 - ## Read more https://oss.rport.io/advanced/watchdog-integration/ + ## Read more https://oss.openrport.io/advanced/watchdog-integration/ ## Disabled by default. #watchdog_integration = false " @@ -392,10 +392,12 @@ Write-Output " # +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Thanks for using - _____ _____ _ - | __ \| __ \ | | - | |__) | |__) |__ _ __| |_ - | _ /| ___/ _ \| '__| __| - | | \ \| | | (_) | | | |_ - |_| \_\_| \___/|_| \__| + ____ _____ _____ _ + / __ \ | __ \| __ \ | | + | | | |_ __ ___ _ __ | |__) | |__) |__ _ __| |_ + | | | | '_ \ / _ \ '_ \| _ /| ___/ _ \| '__| __| + | |__| | |_) | __/ | | | | \ \| | | (_) | | | |_ + \____/| .__/ \___|_| |_|_| \_\_| \___/|_| \__| + | | + |_| " \ No newline at end of file diff --git a/retrieve/templates/windows/update_init.ps1 b/retrieve/templates/windows/update_init.ps1 index 195b2c7..75d9ae9 100644 --- a/retrieve/templates/windows/update_init.ps1 +++ b/retrieve/templates/windows/update_init.ps1 @@ -16,7 +16,7 @@ Param( # Install a specific version [String]$v, # Enable file reception - [Switch]$r + [Switch]$r, # Use a specific version from any URL [string]$pkgUrl ) \ No newline at end of file