This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree".
The branch, master has been updated via daf34294f233a414cd14d08b1269b8192b591096 (commit) from 18bbd71bdcc95b7f335061aa22e61c39df912e8c (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit daf34294f233a414cd14d08b1269b8192b591096 Author: Alexander Marx alexander.marx@ipfire.org Date: Mon Apr 13 15:03:17 2015 +0200
vpn-statistic: update old n2n configs in update.sh
-----------------------------------------------------------------------
Summary of changes: config/rootfiles/core/89/update.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+)
Difference in files: diff --git a/config/rootfiles/core/89/update.sh b/config/rootfiles/core/89/update.sh index bb6c7a5..90a6d77 100644 --- a/config/rootfiles/core/89/update.sh +++ b/config/rootfiles/core/89/update.sh @@ -75,6 +75,18 @@ chown nobody.nobody \ /var/run/ovpnserver.log
# Update OpenVPN/collectd configuration +files=`find /var/ipfire/ovpn/n2nconf/ -type d` +for i in $files; +do + if ! grep -q "status-version" $i/${i##*/}.conf; then + echo "# Logfile" >> $i/${i##*/}.conf + echo "status-version 1" >> $i/${i##*/}.conf + fi + if ! grep -q "status " $i/${i##*/}.conf; then + echo "status /var/run/openvpn/${i##*/}-n2n 10" >> $i/${i##*/}.conf + fi +done + /usr/sbin/ovpn-collectd-convert chown nobody.nobody /var/ipfire/ovpn/collectd.vpn
hooks/post-receive -- IPFire 2.x development tree