Remove All Ads from XDA

[Q] init.d script not working?

968 posts
Thanks Meter: 99
By MuF123, Senior Member on 17th January 2014, 05:40 PM
Post Reply 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, 10:02 AM |#2  
MuF123's Avatar
OP Senior Member
Thanks Meter: 99
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