| View previous topic :: View next topic |
| Author |
Message |
pd1986 Apprentice

Joined: 19 Feb 2012 Posts: 248 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 |
|
 |
BillWho Veteran


Joined: 03 Mar 2012 Posts: 1576 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  |
|
| Back to top |
|
 |
pd1986 Apprentice

Joined: 19 Feb 2012 Posts: 248 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 |
|
 |
|