/etc/init.d/openipmi uses /bin/sh but uses some features that require
bash:
$ checkbashisms debian/openipmi.init
possible bashism in debian/openipmi.init line 55 (should be 'b = a'):
if [ "${kernel}" == "2.4" ]; then
possible bashism in debian/openipmi.init line 202 ($"foo" should be eval_gettext "foo"):
log_begin_msg $"Starting ipmi_watchdog driver: "
possible bashism in debian/openipmi.init line 213 ($"foo" should be eval_gettext "foo"):
log_begin_msg $"Stopping ipmi_watchdog driver: "
possible bashism in debian/openipmi.init line 245 (should be 'b = a'):
if [ "${IPMI_POWERCYCLE}" == "yes" ]; then
Per policy sec. 10.4:
If a shell script requires non-POSIX.1-2017 features from the shell
interpreter other than those listed above, the appropriate shell
must be specified in the first line of the script (e.g.,
#!/bin/bash) and the package must depend on the package providing
the shell (unless the shell package is marked “Essential”, as in the
case of bash).