From ca24304a26c7cb15be636cde04c25ed1f7a19479 Mon Sep 17 00:00:00 2001 From: Guy Sheffer Date: Mon, 6 Nov 2023 16:00:53 +0200 Subject: [PATCH] Add sync also to default password --- src/modules/fullpageos/start_chroot_script | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/fullpageos/start_chroot_script b/src/modules/fullpageos/start_chroot_script index 91ae440..1178da2 100755 --- a/src/modules/fullpageos/start_chroot_script +++ b/src/modules/fullpageos/start_chroot_script @@ -138,9 +138,11 @@ then fi else sudo -u pi /home/pi/scripts/setX11vncPass raspberry + sync if [ ! -f /home/pi/.vnc/passwd ] || [ ! -s /home/pi/.vnc/passwd ]; then echo "/home/pi/.vnc/passwd was not created. Trying again." sudo -u pi /home/pi/scripts/setX11vncPass raspberry + sync if [ ! -f /home/pi/.vnc/passwd ] || [ ! -s /home/pi/.vnc/passwd ]; then echo "/home/pi/.vnc/passwd was not created again. Giving up." echo "Failed to set a VNC password. Aborting build."