executable_shutdown 169 B

1234567891011
  1. #!/bin/sh
  2. case "$1" in
  3. -r)
  4. /run/current-system/profile/sbin/reboot
  5. ;;
  6. *)
  7. /run/current-system/profile/sbin/shutdown "$@"
  8. ;;
  9. esac