Skip to content

Commit

Permalink
adding splash screen to shutdown button script, to show its action on…
Browse files Browse the repository at this point in the history
… the screen
  • Loading branch information
bkoopman committed Apr 28, 2017
1 parent 08c8ba1 commit 6facef2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/shutdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

# shutdown function
def shutdown():
check_call(["/home/pi/scripts/splash.py"])
check_call(["sudo", "poweroff"])

# PaPiRus HAT buttons (GPIO numbers)
Expand Down

0 comments on commit 6facef2

Please sign in to comment.