Fix ROM data type

This commit is contained in:
sickcodes 2022-11-19 10:31:22 +00:00
parent 68187448d6
commit bd423c87cd
4 changed files with 2 additions and 4 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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 \

View File

@ -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 \