cleaned up XML code in tnccs-11 plugin
This commit is contained in:
1 parent
9c84bbcbc0
commit
2a4915e87a
13 files changed
+95
-92
No files matched your search
@@ -60,11 +60,12 @@ done
|
||||
|
||||
|
||||
##########################################################################
|
||||
# clear radius.log on FreeRadius servers
|
||||
# clear daemon.log and radius.log on FreeRadius servers
|
||||
#
|
||||
|
||||
for host in $RADIUSHOSTS
|
||||
do
|
||||
eval HOSTLOGIN="root@`echo $HOSTNAMEIPV4 | sed -n -e "s/^.*${host},//gp" | awk -F, '{ print $1 }' | awk '{ print $1 }'`"
|
||||
ssh $SSHCONF $HOSTLOGIN 'rm -f /var/log/freeradius/radius.log' > /dev/null 2>&1
|
||||
ssh $SSHCONF $HOSTLOGIN 'rm -f /var/log/daemon.log /var/log/freeradius/radius.log; \
|
||||
kill -SIGHUP `cat /var/run/rsyslogd.pid`' > /dev/null 2>&1
|
||||
done
|
||||
Reference in new issue
Block a user