blob: 8a4ff78f98d147ba37cd355412ed2b3283efb75b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/sh
# This script wraps openconnect in order to obtain the password
# file from cmd.
# $1 password file
# $2... are passed to openconnect
test -z "$1" && exit 1
pwfile=$1
shift
exec /usr/sbin/openconnect "$@" <$pwfile
|