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