From bb47d3b7494a5b79fb76de6991d8d65e67ed0500 Mon Sep 17 00:00:00 2001 From: Bill Mills Date: Fri, 2 Aug 2024 12:31:13 -0400 Subject: [PATCH] demos: in R5 combo demo, fix target startup script Hide the error messages we get on 2nd or later login. The error is no issue but the message looks bad. Signed-off-by: Bill Mills --- demos/demo-r5-combo/my-extra-stuff/home/root/.ashrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/demos/demo-r5-combo/my-extra-stuff/home/root/.ashrc b/demos/demo-r5-combo/my-extra-stuff/home/root/.ashrc index 01d2551..c3c56c4 100644 --- a/demos/demo-r5-combo/my-extra-stuff/home/root/.ashrc +++ b/demos/demo-r5-combo/my-extra-stuff/home/root/.ashrc @@ -5,14 +5,14 @@ mkdir $HOME/hide if [ ! -e /sys/class/remoteproc/remoteproc0 ]; then cat $HOME/login_message0 - mv $HOME/demo* $HOME/hide + mv $HOME/demo* $HOME/hide >/dev/null 2>&1 elif [ -e /sys/class/remoteproc/remoteproc1 ]; then cat $HOME/login_message2 - mv $HOME/demo1* $HOME/demo3* $HOME/hide + mv $HOME/demo1* $HOME/demo3* $HOME/hide >/dev/null 2>&1 elif [ -e /sys/firmware/devicetree/base/zynqmp_ipi1/mailbox@ff990600 ]; then cat $HOME/login_message3 - mv $HOME/demo1* $HOME/demo2* $HOME/hide + mv $HOME/demo1* $HOME/demo2* $HOME/hide >/dev/null 2>&1 else cat $HOME/login_message1 - mv $HOME/demo2* $HOME/demo3* $HOME/hide + mv $HOME/demo2* $HOME/demo3* $HOME/hide >/dev/null 2>&1 fi