From: Michael Tremer Date: Tue, 8 Jul 2014 14:12:27 +0000 (+0200) Subject: core80: ddns: Generate ddns.conf during update. X-Git-Tag: v2.15-core80~62^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ee7a9de321a2b3d23241965cd542ed047ed602fc;p=people%2Fstevee%2Fipfire-2.x.git core80: ddns: Generate ddns.conf during update. --- diff --git a/config/rootfiles/core/80/update.sh b/config/rootfiles/core/80/update.sh index 67f8c3ace2..78034bc934 100644 --- a/config/rootfiles/core/80/update.sh +++ b/config/rootfiles/core/80/update.sh @@ -46,6 +46,12 @@ rm -f \ /opt/pakfire/db/installed/meta-libgpg-error \ /opt/pakfire/db/rootfiles/libgpg-error +# Generate ddns configuration file +/srv/web/ipfire/cgi-bin/ddns.cgi + +touch /var/ipfire/ddns/ddns.conf +chown nobody.nobody /var/ipfire/ddns/ddns.conf + sync # This update need a reboot...