forked from pool/tigervnc
11 lines
159 B
Plaintext
11 lines
159 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
# Compatibility replacement for vncpasswd.arg.
|
||
|
|
||
|
if [ $# -ne 2 ]; then
|
||
|
echo "Usage: $0 file password"
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
echo "$2" | vncpasswd -f > "$1"
|