shutdown_funkey 357 B

12345678910111213141516171819202122
  1. #!/bin/sh
  2. # Notif fullscreen "Shutting down"
  3. notif_set 0 "^^^^^^^^ SHUTTING DOWN...^^^^^^^^"
  4. # Kill Emulators
  5. #kill_emulators >/dev/null 2>&1
  6. # Kill Retrofe
  7. #pkill retrofe
  8. # Sync filesystems (useful in case poweroff could not finish)
  9. sync
  10. # Unmount Roms partition
  11. umount /mnt
  12. # Shutdown amp
  13. start_audio_amp 0 >/dev/null 2>&1
  14. # Poweroff
  15. poweroff