mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
OpenVPN: Move the OpenSSL configuration file out of /var/ipfire
We should not have any configuration files that we share in this place, therefore this patch is moving it into /usr/share/openvpn where we should be able to update it without any issues. Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -101,6 +101,12 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
chown root:root /etc/fcron.daily/openvpn-crl-updater
|
||||
chmod 750 /etc/fcron.daily/openvpn-crl-updater
|
||||
|
||||
# Move the OpenSSL configuration file out of /var/ipfire
|
||||
mkdir -pv /usr/share/openvpn
|
||||
mv -v /var/ipfire/ovpn/openssl/ovpn.cnf \
|
||||
/usr/share/openvpn/
|
||||
rmdir -v /usr/share/openvpn
|
||||
|
||||
# Install authenticator
|
||||
install -v -m 755 $(DIR_SRC)/config/ovpn/openvpn-authenticator \
|
||||
/usr/sbin/openvpn-authenticator
|
||||
|
||||
Reference in New Issue
Block a user