Code:
+ '[' -e /tmp/display.plist ']'
+ case `./ioregpbi -n AppleBacklightDisplay -rxw0` in
++ ./ioregpbi -n AppleBacklightDisplay -rxw0
/Users/samer/Desktop/EDIDGen/EDIDGen.sh: line 41: ./ioregpbi: No such file or directory
+ ./ioregpbi -n AppleDisplay -arxw0
/Users/samer/Desktop/EDIDGen/EDIDGen.sh: line 42: ./ioregpbi: No such file or directory
+ GenEDID 0
+ /usr/libexec/PlistBuddy -c 'Print :0' /tmp/display.plist
Cannot parse a NULL or zero-length data
Error Reading File: /tmp/display.plist
+ '[' 1 -eq 0 ']'
+ echo 'No display detected!'
No display detected!
+ GenEDID 1
+ /usr/libexec/PlistBuddy -c 'Print :1' /tmp/display.plist
Cannot parse a NULL or zero-length data
Error Reading File: /tmp/display.plist
+ '[' 1 -eq 0 ']'
+ echo 'No display detected!'
No display detected!
+ GenEDID 2
+ /usr/libexec/PlistBuddy -c 'Print :2' /tmp/display.plist
Cannot parse a NULL or zero-length data
Error Reading File: /tmp/display.plist
+ '[' 1 -eq 0 ']'
+ echo 'No display detected!'
No display detected!
+ rm -rf /tmp/display.plist
PS: I've already installe the script from the ProBook Installer, is that what causing these errors?
I believe I'm doing sth wrong.