From 4af0f52ef20787470d1002b3255121ab43ea46ba Mon Sep 17 00:00:00 2001 From: Kablersalat Date: Mon, 24 Feb 2025 19:12:09 +0100 Subject: forgor to remove vnc password asking after setting type whoppsi --- configure.sh | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'configure.sh') diff --git a/configure.sh b/configure.sh index a2c6314..1cc55e2 100644 --- a/configure.sh +++ b/configure.sh @@ -35,12 +35,6 @@ configure_start_sh() { # Helper function to configure start.sh for a single website set_start_script_single() { - VNC_PASSWORD=$(dialog --title "VNC Password" --inputbox "Please enter the VNC password:" 8 50 "" 3>&1 1>&2 2>&3 3>&-) - mkdir -p /home/kiosk/.vnc - rm -f /home/kiosk/.vnc/passwd # Remove existing password file if it exists - echo "$VNC_PASSWORD" | vncpasswd -f > /home/kiosk/.vnc/passwd - chmod 600 /home/kiosk/.vnc/passwd - # Write the script with properly formatted commands cat > /home/kiosk/start.sh <&1 1>&2 2>&3 3>&-) - mkdir -p /home/kiosk/.vnc - rm -f /home/kiosk/.vnc/passwd # Remove existing password file if it exists - echo "$VNC_PASSWORD" | vncpasswd -f > /home/kiosk/.vnc/passwd - chmod 600 /home/kiosk/.vnc/passwd - # Write the script with properly formatted commands cat > /home/kiosk/start.sh <