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

View file

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

View file

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

View file

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