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)
|
disconnect)
|
||||||
if ! test -z "$DEVICE";then
|
if ! test -z "$DEVICE";then
|
||||||
ifconfig $DEVICE
|
#ifconfig $DEVICE
|
||||||
if test "$?" = "0";then
|
#if test "$?" = "0";then
|
||||||
echo > disconnect.ok
|
echo > disconnect.ok
|
||||||
fi
|
#fi
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
Reference in New Issue
Block a user