0

I want to be able to run a shell command (e.g. mount) on startup on my Galaxy Note 3 (stock rooted Android 4.3)

Typically on Linux that'd be done using /etc/init.d but I don't have that directory on my Note 3.

What's the best approach to running a shell script on startup/boot on Galaxy Note 3?

k1chy
  • 1,401
  • 9
  • 15
DVK
  • 2,059
  • 8
  • 25
  • 43

1 Answers1

2

You might want to take a look at ScriptManager:

Manage and execute shell scripts and programs in file system.
All executions run over vt100 terminal accepting user input and esc codes (colors, bel, cursor movement ..)
Run them at boot-up and/or on network status change possibility.
Schedule at selected time. (cron jobs)

Alternatively, Tasker can be used as well to execute scripts (and other tasks) at certain events – as, e.g., on boot.

Izzy
  • 91,166
  • 73
  • 343
  • 943