Originally Posted by yifanlu
I've noticed a bug in your script. Amazon looks for "KEYFILES=$(ls /etc/uks/*pem)" aka, files ending with pem in the keys folder. Your keys end with ".hack" or ".amazon", so they won't work on < 3.1.
That is not a bug. I wanted the hack to behave consistently across all firmware versions, the keys ending with .amazon or .hack are not supposed to be used by otaup, only by switch-updates-provider when making the switch.
IMHO it would be confusing if the same setup does something else in 3.0.x compared to 3.1.