Re: cpufrequtils dead or alive ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Giovanni Scafora schrieb:
2009/12/15, Thomas Bächler <thomas@xxxxxxxxxxxxx>:
 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.

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux