View previous topic :: View next topic |
Author |
Message |
pd1986 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 19 Feb 2012 Posts: 404 Location: Paris
|
Posted: Sun Feb 03, 2013 6:02 am Post subject: how to autorun commands for radeon power configuration |
|
|
Hello, I want to add a simple script which autoruns just after the booting up the computer. This script will include a command like:
echo low > /sys/class/drm/card0/device/power_profile
But I don't where I should put this file. Thanks in advance. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
BillWho Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/11944701294f68e0ba14919.gif)
Joined: 03 Mar 2012 Posts: 1600 Location: US
|
Posted: Sun Feb 03, 2013 6:15 am Post subject: Re: how to autorun commands for radeon power configuration |
|
|
pd1986 wrote: | Hello, I want to add a simple script which autoruns just after the booting up the computer. This script will include a command like:
echo low > /sys/class/drm/card0/device/power_profile
But I don't where I should put this file. Thanks in advance. |
In /etc/local.d suffix your script with .start and to have it stop during shutdown suffix a script with .stop _________________ Good luck
Since installing gentoo, my life has become one long emerge ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pd1986 Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 19 Feb 2012 Posts: 404 Location: Paris
|
Posted: Sun Feb 03, 2013 6:16 am Post subject: Re: how to autorun commands for radeon power configuration |
|
|
BillWho wrote: | pd1986 wrote: | Hello, I want to add a simple script which autoruns just after the booting up the computer. This script will include a command like:
echo low > /sys/class/drm/card0/device/power_profile
But I don't where I should put this file. Thanks in advance. |
In /etc/local.d suffix your script with .start and to have it stop during shutdown suffix a script with .stop |
Thanks a lot |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|