OCS Agent fix for G4's
Date: Mon, 30 Jun 2008 10:14:10 -0400
From: Joshua Young <jyoung@MSAD3.ORG>
Subject: OCS Inventory Mac Client iBook G4 Fix
Hi all. As some of you know, OCS Inventory Mac Agent wasn't working well
on the iBook G4's with the new image. It would work great on the MacBooks
in the new image, but not the iBooks. I have spent many hours digging
around on Google and have finally found a solution that works. It's a
matter of changing one line in the code. Here's the fix:
tbachner@mac.com
Resources
This is a wonderful little graphic utility for OS X fsevents process
http://www.macupdate.com/info.php/id/19141/fseventer
Apple Software Delivery
http://developer.apple.com/documentation/DeveloperTools/Conceptual/SoftwareDistribution/
http://developer.apple.com/documentation/DeveloperTools/Conceptual/SoftwareDistribution4/index.html
MacDevCenter
http://www.oreilly.com/pub/a/mac/2003/09/16/packagemaker.html
PackageMaker 3 Overview
http://www.restoroot.com/Blog/index.php/2007/11/01/packagemaker-30/#more-23
Older Tutorials
http://s.sudre.free.fr/Stuff/PackageMaker_Howto.html
lsbom usage
http://www.macworld.com/article/47341/2005/10/viewprogdetails.html
Yet another packagemaker description
http://patgmac.blogspot.com/2007/07/as-mac-os-x-admins-it-is-important-to.html
OCS Agent fix for G4's
Date: Mon, 30 Jun 2008 10:14:10 -0400
From: Joshua Young <jyoung@MSAD3.ORG>
Subject: OCS Inventory Mac Client iBook G4 Fix
Hi all. As some of you know, OCS Inventory Mac Agent wasn't working well
on the iBook G4's with the new image. It would work great on the MacBooks
in the new image, but not the iBooks. I have spent many hours digging
around on Google and have finally found a solution that works. It's a
matter of changing one line in the code. Here's the fix:
cd /usr/local/sbin
sudo nano ocs_mac_agent.php
you need to change line #834 from:
$this->_data['CONTENT'][
'HARDWARE']['PROCESSORN'] =
$this->_getValByKey('number _processors', $s_node, 'integer');
to:
$this->_data['CONTENT'][ 'HARDWARE']['PROCESSORN'] =
$this->_getValByKey('number _cpus', $s_node, 'integer');