mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-13 12:32:59 +02:00
core127: ovpn ca index.txt is also missing on some installations
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user