Skip to content

Commit

Permalink
Add more info to bootscreen
Browse files Browse the repository at this point in the history
  • Loading branch information
NEMS Linux committed Mar 16, 2019
1 parent 3a98d32 commit 7104efe
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions bootscreen.sh
Expand Up @@ -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"

Expand Down

0 comments on commit 7104efe

Please sign in to comment.