Operating System - Linux
1752780 Members
6329 Online
108789 Solutions
New Discussion

Re: hp-health init script bug

 
wwong
Visitor

hp-health init script bug

Version: 9.4.0.1.7-5 deb

File: /etc/init.d/hp-health

 

Line 281: if [ "$modprobeStatus" == 0 ]; then

 

hp-health cannot start because of a bug in init script. The fix is to change == to = on line 281.

 

Wyman

1 REPLY 1
wwong
Visitor

Re: hp-health init script bug

The problem persist as of today. On Ubuntu, /bin/sh is symlink to dash which does not accept "==" as tring comparsion operator. There is no problem if you run bash. "==" is synonym for "=" in bash.