hp-health init script bug (170 Views)
Reply
Visitor
wwong
Posts: 2
Registered: ‎10-09-2013
Message 1 of 2 (170 Views)

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

Please use plain text.
Visitor
wwong
Posts: 2
Registered: ‎10-09-2013
Message 2 of 2 (61 Views)

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.

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation