Skip to content

Commit

Permalink
Add note about login command (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
agners authored Nov 22, 2023
1 parent 95aae6b commit 79cf259
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rootfs/usr/bin/cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ while true; do
COMMAND="$(rlwrap -S $'\e[32mha > \e[0m' -H /tmp/.cli_history -o cat)"

# Abort to host?
if [ "$COMMAND" == "login" ]; then
if [ "$COMMAND" == "help" ]; then
echo "Note: Use \"login\" to enter operating system shell"
elif [ "$COMMAND" == "login" ]; then
exit 10
elif [ "$COMMAND" == "exit" ]; then
exit
Expand Down

0 comments on commit 79cf259

Please sign in to comment.