maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   [NOOB alert] how to make a startup script ? (https://talk.maemo.org/showthread.php?t=85709)

Dragoss91 2012-07-26 12:20

[NOOB alert] how to make a startup script ?
 
I still didn't figure how to fix this .

Now I was thinking to create a startup script that disables SR2 once system and overclock loads . Now if I enable Apply on startup and reboot my device , the phone will reboot twice or even three times because alaways is loading OC profile without disabling SR2 .

This SR2 is a pain , it f**s up every overclocking profile , making phone running very unstable , everytime forcing you to increase voltage a lot and still NOT stable . I nearly threw my phone against the wall when I got reboot while talking . :mad:

Dragoss91 2012-07-28 21:34

Re: [NOOB alert] how to make a startup script ?
 
Anyone ?:(

ZogG 2012-07-28 21:51

Re: [NOOB alert] how to make a startup script ?
 
doesn't ariadne sh "..." ask for password?

"NOOB alert]" — maybe than overclock idea is not the best option to play with?

Dragoss91 2012-07-28 22:22

Re: [NOOB alert] how to make a startup script ?
 
yes it asks for password, in the past i used opensh -c . I know what i am doing but i need a little help

ZogG 2012-07-28 22:48

Re: [NOOB alert] how to make a startup script ?
 
Quote:

Originally Posted by Dragoss91 (Post 1244314)
yes it asks for password, in the past i used opensh -c . I know what i am doing but i need a little help

that was the help, it asks for password, so script doesn't really run as you don't enter password?!

Dragoss91 2012-07-29 08:32

Re: [NOOB alert] how to make a startup script ?
 
Yes I figured this so I tried ariadne -u root ... same result , also chmod -x /opt/overclock/* . :-s

MohammadAG 2012-07-29 08:42

Re: [NOOB alert] how to make a startup script ?
 
echo rootme | ariadne... might work

Dragoss91 2012-07-29 09:07

Re: [NOOB alert] how to make a startup script ?
 
Quote:

Originally Posted by MohammadAG (Post 1244443)
echo rootme | ariadne... might work

works like a charm ... thanks :D

Dragoss91 2012-07-29 10:22

Re: [NOOB alert] how to make a startup script ?
 
Now I made a .conf file in /etc/init/apps/ but it doesn't load at startup .

This is the .conf file

Code:

description "Disable Smart Reflex 2"
author "dragoss"
stop on stopping xsession
normal exit 0
exec /usr/bin/aegis-exec -s -u user -l "exec /opt/overclock/ocDSR"


I tried also to add echo 0 > /sys/power/sr_vdd2_autocomp in the FasterN9.sh wich is loaded at startup , but still doesn't work .

MohammadAG 2012-07-29 10:46

Re: [NOOB alert] how to make a startup script ?
 
Those scripts are executed 2-5 minutes after startup, give it some time and see if it works then.

Also shouldn't be executing it as root?


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

vBulletin® Version 3.8.8