We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca24304 commit bd32fc8Copy full SHA for bd32fc8
src/modules/fullpageos/filesystem/home/pi/scripts/setX11vncPass
@@ -1,10 +1,2 @@
1
-#!/usr/bin/env expect
2
-set pass [lindex $argv 0]
3
-spawn x11vnc -storepasswd;
4
-expect "*?assword:*"
5
-send -- "$pass\r";
6
7
8
-expect "*?assword*"
9
-send -- "y\n\r";
10
-interact
+#!/usr/bin/env bash
+x11vnc -storepasswd "${1}" ~/.vnc/passwd
0 commit comments