mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-02 22:03:01 +02:00
board/netconf: fix regex that adds /bin/clish to /etc/shells
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
committed by
Tobias Waldekranz
parent
96a2418d19
commit
782d63e910
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user