maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N800 (https://talk.maemo.org/forumdisplay.php?f=25)
-   -   permanent start up script (https://talk.maemo.org/showthread.php?t=20286)

joepagiii 2008-05-20 23:18

permanent start up script
 
is there a way to make this permanent... echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 400000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
i have to reenter it when i reboot....but i also would like to disable it

Benson 2008-05-20 23:25

Re: permanent start up script
 
http://www.internettablettalk.com/fo...4&postcount=19

Make a script, and symlink it, as discussed there, that does those things. (Instead of sysctl -p.)

joepagiii 2008-05-20 23:53

Re: permanent start up script
 
ill give it a go....kinda hoping someone might have an applet in the works....

joepagiii 2008-05-21 00:26

Re: permanent start up script
 
heres an idea i just had...is there a way to make the script run from the personal menu

Benson 2008-05-21 00:27

Re: permanent start up script
 
There's plenty of applets that can run scripts for switching parameters at run time, but there are none to my knowledge that let you run things on startup, and no good reason for it is one that does that (with no good reason for it :p). See below. You can use any of them, with a couple of scripts, to change the settings back and forth...

Edit: Heh, you beat me to it. That's one of the best options, but you'll still want the init script to set it on start-up.

joepagiii 2008-05-21 00:42

Re: permanent start up script
 
ok...well now i heve alot more reading to do....most of my experience has been no where near instructive enough to undertake this yet....stress yet...ill have to read and reread whene time permits...thank you benson for the help way ot:benson was one of my favorite shows growing up

ldrn 2008-05-21 00:51

Re: permanent start up script
 
Quote:

Originally Posted by joepagiii (Post 183886)
ill give it a go....kinda hoping someone might have an applet in the works....

Actually, sdrman made one a while back:
http://www.internettablettalk.com/fo...59&postcount=4

It automatically executes /home/user/.auto on start.

joepagiii 2008-05-21 01:14

Re: permanent start up script
 
i assume i rename the script from XXX to.auto...right

ldrn 2008-05-21 01:34

Re: permanent start up script
 
Yes -- and put it in your home directory. After you rename it, it will be hidden (but you can still open it.)

joepagiii 2008-05-21 08:48

Re: permanent start up script
 
wow that was very easy....and it works...


All times are GMT. The time now is 08:37.

vBulletin® Version 3.8.8