Commit 53032e29 authored by Paul Formosa's avatar Paul Formosa
Browse files

Change naming to be more consistant

parent 2c3dd1d9
......@@ -52,7 +52,7 @@ $KEY
popd >/dev/null
OVPNFILE="openvpn-generic-client-${FILEBASE}.ovpn"
OVPNFILE="openvpn-${FILEBASE}.ovpn"
cp ${WORKDIR}/${FILEBASE}.ovpn ./$OVPNFILE
if [ "$CACHE_BUILDS" == "yes" ]
......@@ -91,4 +91,4 @@ else
echo -n
fi
echo "Your OpenVPN config file is openvpn-generic-client-${FILEBASE}.ovpn"
echo "Your OpenVPN config file is $OVPNFILE"
......@@ -39,9 +39,9 @@ sed "s/%%ORGNICK%%/$OVPN_ORGNICK/;
popd >/dev/null
zip -j openvpn-client-${FILEBASE}.zip ${WORKDIR}/*
zip -j openvpn-${FILEBASE}.zip ${WORKDIR}/*
if [ "$CACHE_BUILDS" == "yes" ]
then mv openvpn-client-${FILEBASE}.zip /var/lib/openvpn-server/openssl/builds/
then mv openvpn-${FILEBASE}.zip /var/lib/openvpn-server/openssl/builds/
fi
rm -rf $WORKDIR
......@@ -56,4 +56,4 @@ else
fi
echo "Your OpenVPN config files are in openvpn-client-${FILEBASE}.zip"
echo "Your OpenVPN config files are in openvpn-${FILEBASE}.zip"
Supports Markdown
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