On 03/09/2012 12:19 PM, rosea.grammostola wrote:
is this permanent? How do I do that exactly?
\r
Yes. You can add lines in /etc/sysctl.conf and load them with sudo sysctl -p
But only kernel parameters that are set under /proc/sys/
And instead of:
$ sudo echo 2048> /proc/sys/dev/hpet/max-user-freq
You can also do:
$ sudo sysctl -w dev.hpet.max-user-freq=2048
This will write an entry in /etc/sysctl.conf
But again this only applies for parameters under /proc/sys/, I have no
idea if there is an equivalent tool to sysctl for parameters under
/sys/class so you'll probably have to script it.
Best,
Jeremy