put vnc password in /app dir

(cherry picked from commit 69a482e5b8ab624cd46883dbd4735daad536199b)
This commit is contained in:
Sam Heinz 2024-06-14 12:55:03 +10:00
parent e19a3ef776
commit 734729ad4c

View file

@ -38,7 +38,7 @@ msg_ok "Installed JDownloader2"
msg_info "Setting up VNC Server"
mkdir /root/.vnc
secret=$(openssl rand -base64 8)
echo "$secret" >>/root/.vnc/passwd
echo "$secret" >>/app/passwd
echo $secret | vncpasswd -f
msg_ok "Setup VNC Server"