Skip to content

Commit

Permalink
MOTD: declutter list of commands in motd. Everything starts with armb…
Browse files Browse the repository at this point in the history
…ian-config
  • Loading branch information
igorpecovnik committed Nov 7, 2024
1 parent 4d30a7a commit 0397a24
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/bsp/common/etc/update-motd.d/41-commands
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ done
# text, sudo / without, command, condition
# condition can be fairly complex
list=(
"System config","sudo ","armbian-config","true"
"System monitor","","htop","true"
"Installer","","armbian-install","! grep -q \"INSTALLED=true\" /etc/armbian-image-release 2> /dev/null && ((($(date +%s) - $(stat -c +%X /etc/armbian-image-release 2> /dev/null)) < 86400))"
"Configuration","","armbian-config","true"
"Monitoring","","htop","true"
)

# verify if command exits on the system
Expand Down

0 comments on commit 0397a24

Please sign in to comment.