15 lines
225 B
Plaintext
15 lines
225 B
Plaintext
|
#!/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
|
||
|
|
||
|
cat $pwfile|/usr/sbin/openconnect $*
|