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

hp-health init script bug

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



Posts: 2
Registered: ‎10-09-2013
Message 2 of 2 (192 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.

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.