|
|
@@ -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
|
|
|
}
|