From: Alexander Marx Date: Wed, 22 Apr 2015 13:02:02 +0000 (+0200) Subject: BUG10812: change ovpnserver config if needed X-Git-Tag: v2.17-core91~114^2^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0a11f8761ae9464e6321e2259899c3d5ec71a7a4;p=people%2Fstevee%2Fipfire-2.x.git BUG10812: change ovpnserver config if needed --- diff --git a/config/rootfiles/core/90/update.sh b/config/rootfiles/core/90/update.sh index 5e09240bcd..270da2137e 100644 --- a/config/rootfiles/core/90/update.sh +++ b/config/rootfiles/core/90/update.sh @@ -172,6 +172,11 @@ if [ ! -e "/var/ipfire/fwhosts/customgeoipgrp" ]; then chown nobody:nobody /var/ipfire/fwhosts/customgeoipgrp fi +#Fix BUG10812 (openvpn server.conf has wrong collectd logfile path) +if grep -q "status /var/log/ovpnserver.log 30" /var/ipfire/ovpnserver.conf; then + sed -i "s/\/var\/log\/ovpnserver.log 30/\/var\/run\/ovpnserver.log 30/" /var/ipfire/ovpn/server.conf +fi + # Download/Update GeoIP databases. /usr/local/bin/xt_geoip_update