Will rc.local wait for each command to finish, or the commands are executed like exec() ?
Asked
Active
Viewed 2,320 times
2 Answers
2
It's a normal shell script. So they block or not, according to how the script invokes the commands (e.g. with/without &
).
But exec also works differently to how you appear to think; exec()
doesn't do anything asynchronously.

James Youngman
- 3,623
- 2
- 19
- 21