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:
parent
7799c84bd7
commit
29cdf2ff11
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue