mirror of
https://github.com/coolsnowwolf/packages.git
synced 2025-05-02 01:59:24 +08:00
14 lines
228 B
Bash
Executable File
14 lines
228 B
Bash
Executable File
#!/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
|