mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-02 00:02:55 +02:00
openvpn: Move verify script out of configuration directory.
This commit is contained in:
@@ -38,6 +38,12 @@ extract_files
|
||||
|
||||
# Start services
|
||||
|
||||
# Replace path to verify script.
|
||||
if [ -r "/var/ipfire/ovpn/server.conf" ]; then
|
||||
sed -e "s@^tls-verify.*@tls-verify /usr/lib/openvpn/verify@g" \
|
||||
-i /var/ipfire/ovpn/server.conf
|
||||
fi
|
||||
|
||||
# Update Language cache
|
||||
perl -e "require '/var/ipfire/lang.pl'; &Lang::BuildCacheLang"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user