core127: add ovpn ca changes to update
authorArne Fitzenreiter <arne_f@ipfire.org>
Sat, 19 Jan 2019 09:02:17 +0000 (10:02 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sat, 19 Jan 2019 09:02:17 +0000 (10:02 +0100)
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
config/rootfiles/core/127/update.sh

index 8960ed4..33604fc 100644 (file)
@@ -48,6 +48,11 @@ ldconfig
 # Regenerate squid configuration file
 sudo -u nobody /srv/web/ipfire/cgi-bin/proxy.cgi
 
+# If not exist create ovpn ca index.txt.attr and fix rights
+touch /var/ipfire/ovpn/ca/index.txt.attr
+chmod 644 /var/ipfire/ovpn/ca/index.txt.attr
+chmod nobody:nobody /var/ipfire/ovpn/ca/index.txt.attr
+
 # Start services
 /etc/init.d/unbound restart
 /etc/init.d/squid start