From bd32fc850b0f0c0d7fb43abfcfa597c2d2615205 Mon Sep 17 00:00:00 2001 From: Guy Sheffer Date: Mon, 6 Nov 2023 20:29:16 +0200 Subject: [PATCH] Try to fix github actions build and not use expect anymore --- .../filesystem/home/pi/scripts/setX11vncPass | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/modules/fullpageos/filesystem/home/pi/scripts/setX11vncPass b/src/modules/fullpageos/filesystem/home/pi/scripts/setX11vncPass index f13a74c..b427328 100755 --- a/src/modules/fullpageos/filesystem/home/pi/scripts/setX11vncPass +++ b/src/modules/fullpageos/filesystem/home/pi/scripts/setX11vncPass @@ -1,10 +1,2 @@ -#!/usr/bin/env expect -set pass [lindex $argv 0] -spawn x11vnc -storepasswd; -expect "*?assword:*" -send -- "$pass\r"; -expect "*?assword:*" -send -- "$pass\r"; -expect "*?assword*" -send -- "y\n\r"; -interact +#!/usr/bin/env bash +x11vnc -storepasswd "${1}" ~/.vnc/passwd