8 Sty
2010
8 Sty
'10
22:22
jak mamy radius'a to:
#!/bin/bash
#set -x ONLINE=`radwho |awk '{ print $1 }'| sed '1d' | awk -F " " '{ORS=" "; print $1}'`
for iks in $ONLINE do echo "UPDATE nodes SET lastonline = unix_timestamp() WHERE name='$iks';" | mysql -uuser -phaslo baza by AcctStartTime;" done