Showing results for 
Search instead for 
Do you mean 

hp-health init script bug

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
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.