[arch-general] cpufrequtils dead or alive ?
Giovanni Scafora
giovanni at archlinux.org
Tue Dec 15 08:54:07 EST 2009
2009/12/15, Thomas Bächler <thomas at archlinux.org>:
> The second one doesn't make sense. Don't use >/dev/null in combination with
> grep, use grep -q:
>
> grep -qw "$governor"
> sys/devices/system/cpu/cpu*/cpufreq/scaling_available_governors
> || modprobe -q $mod
OK, then I put the following line:
grep -qw "$governor"
sys/devices/system/cpu/cpu*/cpufreq/scaling_available_governors ||
modprobe -q $mod
--
Arch Linux Developer
http://www.archlinux.org
http://www.archlinux.it
More information about the arch-general
mailing list