From f32e2faf11b7b50a00474dc4ff3625a844a2e6ac Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Mon, 20 Nov 2023 21:45:11 +0100 Subject: [PATCH] board/netconf: wrap klish in a fuzzy warm blanket Having klish as the login shell means losing lots of neat features we've gotten used to: help text in less pager, initial terminal probing on the console, and more. This commit replaces the clish -> klish symlnk with a fuzzy bash wrapper that fixes all the above annoying little things. Signed-off-by: Joachim Wiberg --- board/netconf/rootfs/bin/clish | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) mode change 120000 => 100755 board/netconf/rootfs/bin/clish diff --git a/board/netconf/rootfs/bin/clish b/board/netconf/rootfs/bin/clish deleted file mode 120000 index e82e8730..00000000 --- a/board/netconf/rootfs/bin/clish +++ /dev/null @@ -1 +0,0 @@ -../usr/bin/klish \ No newline at end of file diff --git a/board/netconf/rootfs/bin/clish b/board/netconf/rootfs/bin/clish new file mode 100755 index 00000000..63c4d037 --- /dev/null +++ b/board/netconf/rootfs/bin/clish @@ -0,0 +1,3 @@ +#!/bin/bash -li +# Source settings, aliases, and probe terminal size, then hand over to klish +exec /usr/bin/klish