Source: openipmi
Followup-For: Bug #920461

$ checkbashisms /etc/init.d/openipmi
possible bashism in /etc/init.d/openipmi line 55 (should be 'b = a'):
if [ "${kernel}" == "2.4" ]; then
possible bashism in /etc/init.d/openipmi line 202 ($"foo" should be 
eval_gettext "foo"):
        log_begin_msg $"Starting ipmi_watchdog driver: "
possible bashism in /etc/init.d/openipmi line 213 ($"foo" should be 
eval_gettext "foo"):
        log_begin_msg $"Stopping ipmi_watchdog driver: "
possible bashism in /etc/init.d/openipmi line 245 (should be 'b = a'):
        if [ "${IPMI_POWERCYCLE}" == "yes" ]; then

The init script should just be changed to be #!/bin/bash.

-- System Information:
Debian Release: 9.9
  APT prefers oldstable-updates
  APT policy: (540, 'oldstable-updates'), (540, 'oldstable'), (520, 
'stable-updates'), (520, 'stable'), (510, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 4.9.0-9-686-pae (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Reply via email to