Dan Hatton dan.hatton@btinternet.com writes:
[1] This script is also in sh. Comments in one or two of the boot scripts suggest that they've been converted from bash to sh. I am prepared to speculate that this has been done to comply with some kind of standard, and that the standard in question could be Debian policy.
I'm not aware of anything in the Debian policy manual that says that scripts must use plain sh; indeed it quite clearly mentions the possibility of bash scripts (and reminds you to use the right #! line).
Avoiding gratuitous dependencies on particular shells can often be desirable, however.