aboutsummaryrefslogtreecommitdiff
path: root/kiosk.sh
diff options
context:
space:
mode:
Diffstat (limited to 'kiosk.sh')
-rw-r--r--kiosk.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/kiosk.sh b/kiosk.sh
index 74daa73..3c89be3 100644
--- a/kiosk.sh
+++ b/kiosk.sh
@@ -108,9 +108,10 @@ set_start_script_single() {
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
-/usr/bin/chromium --no-first-run --disable-translate --no-default-browser-check --disable-cache --kiosk $2 &
+/usr/bin/chromium --no-first-run --disable-translate --no-default-browser-check --disable-cache --kiosk $2
EOF
chmod a+x /home/kiosk/start.sh
}