]> git.ipfire.org Git - people/fbuehrle/ipfire-2.x.git/commitdiff
core127: ovpn ca index.txt is also missing on some installations
authorArne Fitzenreiter <arne_f@ipfire.org>
Sat, 19 Jan 2019 16:20:51 +0000 (17:20 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sat, 19 Jan 2019 16:20:51 +0000 (17:20 +0100)
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
config/rootfiles/core/127/update.sh

index 537d9e8a434836c97be67d63d9b23d87909e8ad3..b5c72ad4efef87170fe43bfbb2a74409a63bffb2 100644 (file)
@@ -17,7 +17,7 @@
 # along with IPFire; if not, write to the Free Software                    #
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA #
 #                                                                          #
-# Copyright (C) 2018 IPFire-Team <info@ipfire.org>.                        #
+# Copyright (C) 2019 IPFire-Team <info@ipfire.org>.                        #
 #                                                                          #
 ############################################################################
 #
@@ -48,10 +48,13 @@ 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
+# 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
 chown nobody:nobody /var/ipfire/ovpn/ca/index.txt.attr
+touch /var/ipfire/ovpn/ca/index.txt
+chmod 644 /var/ipfire/ovpn/ca/index.txt
+chown nobody:nobody /var/ipfire/ovpn/ca/index.txt
 
 # Start services
 /etc/init.d/unbound restart