]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
core80: ddns: Generate ddns.conf during update.
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 8 Jul 2014 14:12:27 +0000 (16:12 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 8 Jul 2014 14:12:27 +0000 (16:12 +0200)
config/rootfiles/core/80/update.sh

index 67f8c3ace2c1fb69fc9e51722b83703cca164888..78034bc9343bbf40170b4d145568902a9e06ba0b 100644 (file)
@@ -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...