mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-10-12 01:26:48 +08:00
do not require the device to be present in the connect script.
This commit is contained in:
@@ -8,10 +8,10 @@ case "$REASON" in
|
||||
;;
|
||||
disconnect)
|
||||
if ! test -z "$DEVICE";then
|
||||
ifconfig $DEVICE
|
||||
if test "$?" = "0";then
|
||||
#ifconfig $DEVICE
|
||||
#if test "$?" = "0";then
|
||||
echo > disconnect.ok
|
||||
fi
|
||||
#fi
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user