From 782d63e910bbf627b3b4f750149ebb965f06bd27 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Mon, 21 Aug 2023 15:58:34 +0200 Subject: [PATCH] board/netconf: fix regex that adds /bin/clish to /etc/shells Signed-off-by: Joachim Wiberg --- board/netconf/post-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/netconf/post-build.sh b/board/netconf/post-build.sh index 1c31f5b1..5d00adba 100755 --- a/board/netconf/post-build.sh +++ b/board/netconf/post-build.sh @@ -9,5 +9,5 @@ if [ -L "$TARGET_DIR/var/lib/avahi-autoipd" ]; then fi # Allow clish (symlink to /usr/bin/klish) to be a login shell -grep -qsE '^//bin/clish$$' "$TARGET_DIR/etc/shells" \ +grep -qsE '^/bin/clish$$' "$TARGET_DIR/etc/shells" \ || echo "/bin/clish" >> "$TARGET_DIR/etc/shells"