From 29cdf2ff1135583f288582bb0e4cd5ef7e1b49b1 Mon Sep 17 00:00:00 2001 From: A Holt Date: Tue, 25 May 2021 16:41:11 -0400 Subject: [PATCH] iiab-support: Check for word break using '\b' (grep -q '^openvpn_installed: True\b' /etc/iiab/iiab_state.yml) --- iiab-support | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iiab-support b/iiab-support index 11ff589d9..91ec00a7d 100755 --- a/iiab-support +++ b/iiab-support @@ -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"