summaryrefslogtreecommitdiffstats
path: root/x11vnc/misc/x11vnc_pw
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/misc/x11vnc_pw')
-rwxr-xr-xx11vnc/misc/x11vnc_pw24
1 files changed, 0 insertions, 24 deletions
diff --git a/x11vnc/misc/x11vnc_pw b/x11vnc/misc/x11vnc_pw
deleted file mode 100755
index 04ea1e3..0000000
--- a/x11vnc/misc/x11vnc_pw
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh
-# usage: x11vnc_pw [file] (default: ~/.vnc/passwd)
-
-if [ "X$1" = "X" ]; then
- file=$HOME/.vnc/passwd
-else
- file=$1
-fi
-
-stty -echo
-printf "Password: "
-read pw1; echo ""
-printf "Verify: "
-read pw2; echo ""
-stty echo
-
-if [ "X$pw1" != "X$pw2" ]; then
- echo "passwords do not match."
- exit 1
-fi
-
-x11vnc -help > /dev/null 2>&1
-x11vnc -storepasswd "$pw1" "$file"
-ls -l "$file"