This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # WARNING: Use at your own risk. Test carefully before applying in production. | |
| # THIS SCRIPT WAS UPDATED FROM THE ORIGINAL USING CHATGPT! | |
| # Updated for DSM 7.2.2 compatibility. | |
| # STILL working on DSM 7.2.3-86009 Update 3 (6th July 26) | |
| # This script will attempt to free up ports 80 and 443 used by the built-in nginx. | |
| HTTP_PORT=81 | |
| HTTPS_PORT=444 |