Post Reply Subscribe to Thread Email Thread

start script at boot

9th January 2014, 04:49 PM   |  #1  
OP Member
Thanks Meter: 1
45 posts
Join Date:Joined: Apr 2013

i'm using stock-rom 4.1.2 (root) on my xtz wifi 16gb. i can mount samba shares running 2 script in terminal emulator

sh starts cifs.ko and mounts the samba share. su sh or ./ don't work.

now i want to mount the share after boot the xtz. on linux i can use init.d, but on android init.d is read-only. there is no in play store there are some app who starts (i.e. this; i had to create the folder opt in /data and then create in /opt). bit it seems the scripts isn't loaded after bot the device.

is there an other solution for autostart the scripts on xtz?

9th January 2014, 04:54 PM   |  #2  
Felimenta97's Avatar
Senior Member
Flag Ribeirão Preto
Thanks Meter: 2,331
7,849 posts
Join Date:Joined: Aug 2011
Download ROM Toolbox (Pro or Lite), go to Scripts, choose Import Script, look for your script. After added, press and hold over your script, and choose Set At Boot, or smth like that.

That Should do
The Following User Says Thank You to Felimenta97 For This Useful Post: [ View ]
9th January 2014, 07:02 PM   |  #3  
OP Member
Thanks Meter: 1
45 posts
Join Date:Joined: Apr 2013
thx, works.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes