artix-unblock_rdf_at_boot.sh 325 B

1234567891011121314151617181920
  1. #!/bin/bash
  2. # fail if any commands fails
  3. #set -e
  4. # debug log
  5. #set -x
  6. # Set superuser privileges command if not set
  7. if [[ -z $su ]]; then
  8. export su="sudo"
  9. fi
  10. #$su pacman -S tlp tlp-openrc
  11. #$su rc-update add tlp default
  12. #$su rc-service tlp start
  13. $su pacman -S tlp tlp-dinit
  14. $su dinitctl enable tlp
  15. $su dinitctl start tlp