Commit bc137ae9 authored by Rafael Monnerat's avatar Rafael Monnerat

Also disable vifib.backup.conf during the migration.

parent 66793dca
......@@ -58,6 +58,12 @@ function remove_VPN_conf
echo "Removed vifib OpenVPN configuration files"
fi
# Remove VPN configuration
if [ -e /etc/openvpn/vifib.backup.conf ]; then
mv /etc/openvpn/vifib.backup.conf /etc/openvpn/vifib.backup.conf.disabled`date`
echo "Removed vifib OpenVPN configuration files"
fi
if [ -e /etc/opt/slapos/openvpn-needed ]; then
rm /etc/opt/slapos/openvpn-needed
echo "Removed /etc/opt/slapos/openvpn-needed"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment