mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-17 20:31:25 +00:00
Display instructions for installing armbian-config in MOTD
This commit is contained in:
parent
ce6853a3d4
commit
8826d231a6
1 changed files with 9 additions and 2 deletions
|
@ -12,6 +12,13 @@ for f in $MOTD_DISABLE; do
|
|||
[[ $f == $THIS_SCRIPT ]] && exit 0
|
||||
done
|
||||
|
||||
[[ $(( $RANDOM % 2 )) == 0 && -f /usr/sbin/armbian-config ]] && echo -e "[\e[31m General system configuration\e[0m: \e[1marmbian-config\e[0m ]\n"
|
||||
if [[ $(( $RANDOM % 2 )) == 0 ]]; then
|
||||
if [[ -f /usr/sbin/armbian-config ]]; then
|
||||
echo -e "[\e[31m General system configuration (beta)\e[0m: \e[1marmbian-config\e[0m ]\n"
|
||||
else
|
||||
echo -e "[\e[31m Menu-driven system configuration (beta)\e[0m: \e[1msudo apt update && sudo apt install armbian-config\e[0m ]\n"
|
||||
fi
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
||||
exit 0
|
Loading…
Add table
Reference in a new issue