vpnc-script: enable reconnect
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
This commit is contained in:
parent
d5c18b1d5e
commit
80ab3fdc49
1 changed files with 3 additions and 0 deletions
|
@ -210,6 +210,9 @@ case "$reason" in
|
||||||
reconnect)
|
reconnect)
|
||||||
run_hooks reconnect
|
run_hooks reconnect
|
||||||
;;
|
;;
|
||||||
|
attempt-reconnect)
|
||||||
|
run_hooks attempt-reconnect
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
logger -t openconnect "unknown reason '$reason'. Maybe vpnc-script is out of date" 1>&2
|
logger -t openconnect "unknown reason '$reason'. Maybe vpnc-script is out of date" 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in a new issue