"Michael W. Holdeman" <[EMAIL PROTECTED]> writes:

> I named it vmware_script and placed it in /etc/vmware, and execute
> it to run vmware. It works great as long as I execute as root :
> chmod o+w /sys/module/processor/parameters/max_cstate So that as a
> user you can execute the max_cstate command.
>
> This works but whenever you boot the laptop you have to su to root
> and execute teh chmod again or the state will not be enforced and
> vmware is deathly slow.

There may be better ways but one would be to put it in
/etc/conf.d/local.start

and put that into the init setup with 
  rc-update add local default

Be sure to put a & after the command or it will hang up boot process. 

-- 
gentoo-user@gentoo.org mailing list

Reply via email to