From 1d80b5cde37b8025fabef4ba12d44a6d89b25dc0 Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Wed, 26 Jan 2022 20:18:46 +0100 Subject: [PATCH] Revert "When checking for shell, use strict grep (#3437)" This reverts commit b77bd304607335307296948e7fc341852afa6fe2. --- packages/bsp/common/usr/lib/armbian/armbian-firstlogin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/bsp/common/usr/lib/armbian/armbian-firstlogin b/packages/bsp/common/usr/lib/armbian/armbian-firstlogin index a84ff7775b..dc79a1a76a 100755 --- a/packages/bsp/common/usr/lib/armbian/armbian-firstlogin +++ b/packages/bsp/common/usr/lib/armbian/armbian-firstlogin @@ -88,7 +88,7 @@ set_shell() fi SHELL_PATH=$(grep /$USER_SHELL$ /etc/shells | tail -1) - chsh -s $(grep -wiF "/$USER_SHELL" /etc/shells | tail -1) + chsh -s $(grep -iF "/$USER_SHELL" /etc/shells | tail -1) echo -e "\nShell: \x1B[92m${USER_SHELL^^}\x1B[0m" # change shell for future users