Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

hp-health init script bug

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