diff options
author | Attie Grande <[email protected]> | 2023-02-03 22:40:56 +0000 |
---|---|---|
committer | Attie Grande <[email protected]> | 2023-02-03 22:40:56 +0000 |
commit | af848f96dfad179f1c86aab15472426ad1bfe913 (patch) | |
tree | 8cb8160fc4080a395b48c381ac2b5ce6380c64f3 /docker | |
parent | d88e4b5151f86a6c5ae0884520841495d46fbe3e (diff) | |
download | rustdesk-server-af848f96dfad179f1c86aab15472426ad1bfe913.tar.gz rustdesk-server-af848f96dfad179f1c86aab15472426ad1bfe913.zip |
add '-k _' to hbbr if ENCRYPTED_ONLY is set
Diffstat (limited to 'docker')
-rwxr-xr-x | docker/rootfs/etc/s6-overlay/s6-rc.d/hbbr/run | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docker/rootfs/etc/s6-overlay/s6-rc.d/hbbr/run b/docker/rootfs/etc/s6-overlay/s6-rc.d/hbbr/run index c7e1b19..c17d27b 100755 --- a/docker/rootfs/etc/s6-overlay/s6-rc.d/hbbr/run +++ b/docker/rootfs/etc/s6-overlay/s6-rc.d/hbbr/run @@ -1,3 +1,5 @@ #!/command/with-contenv sh cd /data -/usr/bin/hbbr +PARAMS= +[ "${ENCRYPTED_ONLY}" = "1" ] && PARAMS="-k _" +/usr/bin/hbbr $PARAMS |