Skip to content
Permalink
Browse files

Add more info to bootscreen

  • Loading branch information...
NEMS Linux
NEMS Linux committed Mar 16, 2019
1 parent 3a98d32 commit 7104efeb54ead20b4b62133da55806e79c9b2e9a
Showing with 16 additions and 0 deletions.
  1. +16 −0 bootscreen.sh
@@ -75,11 +75,27 @@ sleep 10

hosts=$(/usr/local/bin/nems-info hosts)
services=$(/usr/local/bin/nems-info services)
update=$(/usr/local/bin/nems-info update)
fixes=$(/usr/local/bin/nems-info fixes)

if [[ $update == 1 ]]; then
updating="Running"
else
updating="Idle"
fi

if [[ $fixes == 1 ]]; then
fixing="Running"
else
fixing="Idle"
fi

# General overview
output="\
Hosts: $hosts\n\
Services: $services\n\
NEMS Update: $updating\n\
NEMS Fixes: $fixing\n\
"
display_screen "NEMS Linux $ver"

0 comments on commit 7104efe

Please sign in to comment.
You can’t perform that action at this time.