13 lines
246 B
Text
13 lines
246 B
Text
|
#!/bin/sh
|
||
|
|
||
|
# This script wraps openfortivpn in order to obtain the password
|
||
|
# file from cmd and to daemonize
|
||
|
|
||
|
# $1 password file
|
||
|
# $2... are passed to openconnect
|
||
|
|
||
|
test -z "$1" && exit 1
|
||
|
|
||
|
pwfile=$1
|
||
|
shift
|
||
|
exec /usr/sbin/openfortivpn "$@" < $pwfile
|