View Single Post
  #16 (permalink)  
Old 03-07-2006, 02:57 PM
gjnieuwenhuis gjnieuwenhuis is offline
Intermediate Member
 
Posts: 21
Default

Quote:
Originally Posted by marcmac
There's a bug in the script:

DISK: : dev: /dev/sda1, mp: /boot, tot: 99, avail: 75

The hostname should be right before that second colon.

I'll fix this in the code:
line 54

$hostname=`/opt/zimbra/bin/zmhostname`;
chomp $hostname;

(Those are backticks, not single quotes)
Okay, I'm not sure if I'm getting brainlazy or just need more sleep: which script should be edited and is it possible to post the entire revisited script?

TIA,
GJ.
Reply With Quote