Post Reply

[Q] init.d script not working?

17th January 2014, 05:40 PM   |  #1  
MuF123's Avatar
OP Senior Member
Thanks Meter: 51
 
680 posts
Join Date:Joined: Jul 2009
I'm trying to run "rm -rf /storage/emulated/0/documents" command from an init.d script, but it does not work.

Other commands (like echoing something) work, so permissions and other things are okay. Also when I run that script manually after booting it does what I want it to do.

Any idea why the same script won't remove that directory while booting and does remove it when running after boot?

Thanks!
18th January 2014, 10:02 AM   |  #2  
MuF123's Avatar
OP Senior Member
Thanks Meter: 51
 
680 posts
Join Date:Joined: Jul 2009
I've tried adding sleep 30 before rm but still no result...
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools
Display Modes


Top Threads in Questions and Answers by ThreadRank