Contribute
Register

Which CMOS reset fix Perl script..??

Status
Not open for further replies.
Joined
Jul 2, 2011
Messages
67
Motherboard
Z170N-WIFI
CPU
i5-6600K
Graphics
HD530
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Was about to re-fix this CMOS situation when I ran into two different Perl scripts, both claiming to do the same:

Code:
sudo perl -pi -e 's|\x75\x30\x44\x89\xf8|\xeb\x30\x44\x89\xf8|; s|\x75\x3d\x8b\x75\x08|\xeb\x3d\x8b\x75\x08|' /System/Library/Extensions/AppleRTC.kext/Contents/MacOS/AppleRTC
from here: viewtopic.php?p=228015#p228015

and

Code:
sudo perl -pi -e 's|\x8b\x45\xc8\x39\x45\xcc\x74\x0b|\x8b\x45\xc8\x39\x45\xcc\xeb\x0b|; s|\x8b\x45\xb4\x39\x45\xb8\x74\x08|\x8b\x45\xb4\x39\x45\xb8\xeb\x08|' /System/Library/Extensions/AppleRTC.kext/Contents/MacOS/AppleRTC
from here: viewtopic.php?p=214155#p214155

What's the difference? I believe I applied the latter one before and it was fine, but I'm curious to know what the difference is. Would it hurt if you ran both scripts for instance?
 
This is the one I use...

Code:
sudo perl -pi -e 's|\x75\x30\x44\x89\xf8|\xeb\x30\x44\x89\xf8|; s|\x75\x3d\x8b\x75\x08|\xeb\x3d\x8b\x75\x08|' /System/Library/Extensions/AppleRTC.kext/Contents/MacOS/AppleRTC
 
Status
Not open for further replies.
Back
Top