put vnc password in /app dir

This commit is contained in:
Sam Heinz
2024-06-14 12:55:03 +10:00
parent eb33694cc4
commit 69a482e5b8

View File

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