forked from pool/tigervnc
95d64b14ff
- Readd vncpasswd.arg for compatibility with installation system and potentially another users. (bnc#855246) OBS-URL: https://build.opensuse.org/request/show/222208 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/tigervnc?expand=0&rev=15
11 lines
159 B
Bash
11 lines
159 B
Bash
#!/bin/sh
|
|
|
|
# Compatibility replacement for vncpasswd.arg.
|
|
|
|
if [ $# -ne 2 ]; then
|
|
echo "Usage: $0 file password"
|
|
exit 1
|
|
fi
|
|
|
|
echo "$2" | vncpasswd -f > "$1"
|