Skip to content

Commit

Permalink
emuelec-emulationstation: Correctly handle reboot and power-off
Browse files Browse the repository at this point in the history
Fixes #421
  • Loading branch information
shantigilbert committed Feb 15, 2021
1 parent 51a1a16 commit 3d8c5c3
Showing 1 changed file with 14 additions and 0 deletions.
@@ -0,0 +1,14 @@
#!/bin/bash

. /etc/profile

case ${1} in
"reboot")
small-cores enable
systemctl reboot
;;
"shutdown")
small-cores enable
systemctl poweroff
;;
esac

0 comments on commit 3d8c5c3

Please sign in to comment.