Merge pull request #187 from attie-argentum/encrypted_only

add '-k _' to hbbr if ENCRYPTED_ONLY is set
This commit is contained in:
RustDesk 2023-02-05 12:26:12 +08:00 committed by GitHub
commit 6a83ffea62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,5 @@
#!/command/with-contenv sh
cd /data
/usr/bin/hbbr
PARAMS=
[ "${ENCRYPTED_ONLY}" = "1" ] && PARAMS="-k _"
/usr/bin/hbbr $PARAMS