Merge pull request #105 from enoch85/patch-4

enable shellcheck
This commit is contained in:
RustDesk authored and GitHub committed 2023-10-04 00:53:39 +08:00
commit 37a2d95def
1 file changed
+3
+3
View File
@@ -9,6 +9,9 @@
# 6. Create systemd services for hbbs and hbbr # 6. Create systemd services for hbbs and hbbr
# 7. If you choose Domain, it will install Nginx and Certbot, allowing the API to be available on port 443 (https) and get an SSL certificate over port 80, it is automatically renewed # 7. If you choose Domain, it will install Nginx and Certbot, allowing the API to be available on port 443 (https) and get an SSL certificate over port 80, it is automatically renewed
# shellcheck disable=2034,2059,2164
true
# Get username # Get username
usern=$(whoami) usern=$(whoami)
admintoken=$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c16) admintoken=$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c16)