]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - config/rootfiles/core/90/update.sh
BUG10812: change ovpnserver config if needed
[ipfire-2.x.git] / config / rootfiles / core / 90 / update.sh
index 5e09240bcd74d4d4144b4b44e7f4f4e79f9996d7..270da2137e2a2397d6ecab505abde65812f1e4a8 100644 (file)
@@ -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