[Q] init.d script not working?

750 posts
Thanks Meter: 57
By MuF123, Senior Member on 17th January 2014, 06:40 PM
Post Reply Subscribe to Thread Email Thread
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?

18th January 2014, 11:02 AM |#2  
MuF123's Avatar
OP Senior Member
Thanks Meter: 57
I've tried adding sleep 30 before rm but still no result...
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes