Update Scriptmonkey_Beta.ps1
This commit is contained in:
@@ -2162,21 +2162,6 @@ function Install-DattoRMM {
|
||||
|
||||
#endregion guarantee NuGet provider is present without prompting
|
||||
|
||||
<# AI said it was dead code
|
||||
#region HTTP Listener & Routing
|
||||
|
||||
# Handle shutdown command
|
||||
if ($path -eq 'quit') {
|
||||
Write-LogHybrid "Shutdown requested" "Info" "Server"
|
||||
Respond-Text $Context "Server shutting down."
|
||||
# This will break out of the while loop in Start-Server
|
||||
$Global:Listener.Stop()
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
#endregion
|
||||
#> commneted out by AI
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user