Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 2515 → Rev 2516

/scripts/alcasar-watchdog.sh
112,7 → 112,7
active_mac=`echo $system | cut -d" " -f1`
active_user=`echo $system |cut -d" " -f6`
# We disconnect inactive user here :
# We check if this is not an auth @MAC and if he is still connected
# We check if the user isn't an auth @MAC and if he is still connected
if [ "$active_user" != "$active_mac" ] && [ $(expr $active_session) -eq 1 ]; then
if [ -e $current_users_file ]; then
# We check if user @IP is in 'current_users.txt'