File vncpasswd.arg of Package tigervnc.8914

#!/bin/sh

# Compatibility replacement for vncpasswd.arg.

if [ $# -ne 2 ]; then
  echo "Usage: $0 file password"
  exit 1
fi

echo "$2" | vncpasswd -f > "$1"