mirror of
https://github.com/sickcodes/osx-serial-generator.git
synced 2024-12-28 02:16:12 +00:00
Fix ROM data type
This commit is contained in:
parent
68187448d6
commit
bd423c87cd
|
@ -1269,7 +1269,7 @@
|
||||||
<key>ProcessorType</key>
|
<key>ProcessorType</key>
|
||||||
<integer>0</integer>
|
<integer>0</integer>
|
||||||
<key>ROM</key>
|
<key>ROM</key>
|
||||||
<data>0016cb001122</data>
|
<string>{{ROM}}</string>
|
||||||
<key>SpoofVendor</key>
|
<key>SpoofVendor</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>SystemMemoryStatus</key>
|
<key>SystemMemoryStatus</key>
|
||||||
|
|
|
@ -1269,7 +1269,7 @@
|
||||||
<key>ProcessorType</key>
|
<key>ProcessorType</key>
|
||||||
<integer>0</integer>
|
<integer>0</integer>
|
||||||
<key>ROM</key>
|
<key>ROM</key>
|
||||||
<data>0016cb001122</data>
|
<string>{{ROM}}</string>
|
||||||
<key>SpoofVendor</key>
|
<key>SpoofVendor</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>SystemMemoryStatus</key>
|
<key>SystemMemoryStatus</key>
|
||||||
|
|
|
@ -246,7 +246,6 @@ generate_bootdisk () {
|
||||||
&& [ "${MAC_ADDRESS}" ]; then
|
&& [ "${MAC_ADDRESS}" ]; then
|
||||||
ROM="${MAC_ADDRESS//\:/}"
|
ROM="${MAC_ADDRESS//\:/}"
|
||||||
ROM="$(awk '{print tolower($0)}' <<< "${ROM}")"
|
ROM="$(awk '{print tolower($0)}' <<< "${ROM}")"
|
||||||
ROM="$(base64 <<< "${ROM}")"
|
|
||||||
sed -e s/\{\{DEVICE_MODEL\}\}/"${DEVICE_MODEL}"/g \
|
sed -e s/\{\{DEVICE_MODEL\}\}/"${DEVICE_MODEL}"/g \
|
||||||
-e s/\{\{SERIAL\}\}/"${SERIAL}"/g \
|
-e s/\{\{SERIAL\}\}/"${SERIAL}"/g \
|
||||||
-e s/\{\{BOARD_SERIAL\}\}/"${BOARD_SERIAL}"/g \
|
-e s/\{\{BOARD_SERIAL\}\}/"${BOARD_SERIAL}"/g \
|
||||||
|
|
|
@ -338,7 +338,6 @@ EOF
|
||||||
source "${OUTPUT_ENV_FILE}"
|
source "${OUTPUT_ENV_FILE}"
|
||||||
ROM="${MAC_ADDRESS//\:/}"
|
ROM="${MAC_ADDRESS//\:/}"
|
||||||
ROM="$(awk '{print tolower($0)}' <<< "${ROM}")"
|
ROM="$(awk '{print tolower($0)}' <<< "${ROM}")"
|
||||||
ROM="$(base64 <<< "${ROM}")"
|
|
||||||
sed -e s/\{\{DEVICE_MODEL\}\}/"${DEVICE_MODEL}"/g \
|
sed -e s/\{\{DEVICE_MODEL\}\}/"${DEVICE_MODEL}"/g \
|
||||||
-e s/\{\{SERIAL\}\}/"${SERIAL}"/g \
|
-e s/\{\{SERIAL\}\}/"${SERIAL}"/g \
|
||||||
-e s/\{\{BOARD_SERIAL\}\}/"${BOARD_SERIAL}"/g \
|
-e s/\{\{BOARD_SERIAL\}\}/"${BOARD_SERIAL}"/g \
|
||||||
|
|
Loading…
Reference in a new issue