Skip to content

Commit

Permalink
demos: in R5 combo demo, fix target startup script
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
wmamills committed Aug 2, 2024
1 parent c2c85e4 commit bb47d3b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions demos/demo-r5-combo/my-extra-stuff/home/root/.ashrc
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit bb47d3b

Please sign in to comment.