1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-14 20:22:08 +00:00

iiab-support: Check for word break using '\b' (grep -q '^openvpn_installed: True\b' /etc/iiab/iiab_state.yml)

This commit is contained in:
A Holt 2021-05-25 16:41:11 -04:00 committed by GitHub
parent 7799c84bd7
commit 29cdf2ff11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,7 +46,7 @@ else
echo -e "\n\e[1mWARNING: openvpn_handle remains unchanged in both above files.\e[0m\n"
fi
if grep -q '^openvpn_installed: True' /etc/iiab/iiab_state.yml; then
if grep -q '^openvpn_installed: True\b' /etc/iiab/iiab_state.yml; then
echo -e "Your IIAB installation appears normal, with OpenVPN already installed...\n"
else
echo -e "Plz wait a few minutes as sshd, iiab-admin & OpenVPN are confirmed/installed...\n"