Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] init.d script not working?

OP MuF123

17th January 2014, 06:40 PM   |  #1  
MuF123's Avatar
OP Senior Member
Thanks Meter: 52
 
685 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, 11:02 AM   |  #2  
MuF123's Avatar
OP Senior Member
Thanks Meter: 52
 
685 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 Search this Thread
Search this Thread:

Advanced Search
Display Modes