Files
ocserv/tests/connect-script
2014-04-15 11:34:17 +02:00

20 lines
249 B
Bash
Executable File

#!/bin/sh
#echo $USERNAME : $REASON : $DEVICE
case "$REASON" in
connect)
echo > connect.ok
;;
disconnect)
if ! test -z "$DEVICE";then
#ifconfig $DEVICE
#if test "$?" = "0";then
echo > disconnect.ok
#fi
fi
;;
esac
exit 0