[arch-general] cpufrequtils dead or alive ?

Thomas Bächler thomas at archlinux.org
Tue Dec 15 08:59:02 EST 2009


Giovanni Scafora schrieb:
> 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:

Stupid me: The first one doesn't make sense the second one does. But it 
seems you understood me correctly.

>>  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

I hope that works, look good though.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20091215/59ba5df2/attachment.bin>


More information about the arch-general mailing list