123456789101112131415161718 |
- #!/bin/bash
- if (( $EUID != 0 )); then
- echo "Eseguire lo script come amministratore"
- exit
- fi
- # installo task specifico
- apt-get install --yes task-laptop
- # installo e configuro tuned-utils
- apt-get install --yes tuned tuned-utils
- tuned-adm profile laptop-battery-powersave
- # installo e configuro cpufrequtils
- apt-get install --yes cpufrequtils linux-cpupower
- cpupower frequency-set --governor powersave
|