vpnc-script: enable reconnect
authorNikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
Wed, 18 Dec 2019 20:21:37 +0000 (21:21 +0100)
committerNikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
Wed, 18 Dec 2019 20:21:37 +0000 (21:21 +0100)
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
net/vpnc-scripts/files/vpnc-script

index 5575c3cdab74128321b10c798285cff96141ab05..685e73d5645855100e5cadf97711935d7c9b21fd 100755 (executable)
@@ -210,6 +210,9 @@ case "$reason" in
        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
                exit 1