gsmartcontrol_polkit 142 B

1234567
  1. #!/bin/bash
  2. if [ $(which pkexec) ]; then
  3. pkexec --disable-internal-agent "/usr/sbin/gsmartcontrol" "$@"
  4. else
  5. /usr/bin/gsmartcontrol "$@"
  6. fi