diff options
author | Kablersalat <crt@adastra7.net> | 2025-02-24 19:12:09 +0100 |
---|---|---|
committer | Kablersalat <crt@adastra7.net> | 2025-02-24 19:12:09 +0100 |
commit | 4af0f52ef20787470d1002b3255121ab43ea46ba (patch) | |
tree | a566bcca21a8cc939fb443c5235f43c630d1075f | |
parent | 5180c16ff20687ee21da68be2482a1dfd3715d12 (diff) |
forgor to remove vnc password asking after setting type whoppsi
-rw-r--r-- | configure.sh | 12 |
1 files changed, 0 insertions, 12 deletions
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 <<EOF #!/bin/bash @@ -58,12 +52,6 @@ configure_tabs() { tab_urls+="'$url' " # Ensure URLs are properly quoted done - 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 <<EOF #!/bin/bash |