mirror of
https://github.com/sickcodes/osx-serial-generator.git
synced 2025-01-14 10:25:11 +00:00
Merge pull request #26 from sickcodes/efi-remove
EFI Remove, fix scan policy
This commit is contained in:
commit
6568c9d8c7
|
@ -1064,10 +1064,8 @@
|
||||||
<array/>
|
<array/>
|
||||||
<key>Security</key>
|
<key>Security</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>AllowNvramReset</key>
|
|
||||||
<true/>
|
|
||||||
<key>AllowSetDefault</key>
|
<key>AllowSetDefault</key>
|
||||||
<false/>
|
<true/>
|
||||||
<key>ApECID</key>
|
<key>ApECID</key>
|
||||||
<integer>0</integer>
|
<integer>0</integer>
|
||||||
<key>AuthRestart</key>
|
<key>AuthRestart</key>
|
||||||
|
@ -1087,7 +1085,7 @@
|
||||||
<key>PasswordSalt</key>
|
<key>PasswordSalt</key>
|
||||||
<data></data>
|
<data></data>
|
||||||
<key>ScanPolicy</key>
|
<key>ScanPolicy</key>
|
||||||
<integer>13056</integer>
|
<integer>2687747</integer>
|
||||||
<key>SecureBootModel</key>
|
<key>SecureBootModel</key>
|
||||||
<string>Disabled</string>
|
<string>Disabled</string>
|
||||||
<key>Vault</key>
|
<key>Vault</key>
|
||||||
|
@ -1221,8 +1219,6 @@
|
||||||
<string>ForceDisplayRotationInEFI</string>
|
<string>ForceDisplayRotationInEFI</string>
|
||||||
</array>
|
</array>
|
||||||
</dict>
|
</dict>
|
||||||
<key>LegacyEnable</key>
|
|
||||||
<false/>
|
|
||||||
<key>LegacyOverwrite</key>
|
<key>LegacyOverwrite</key>
|
||||||
<false/>
|
<false/>
|
||||||
<key>LegacySchema</key>
|
<key>LegacySchema</key>
|
||||||
|
@ -1273,9 +1269,7 @@
|
||||||
<key>ProcessorType</key>
|
<key>ProcessorType</key>
|
||||||
<integer>0</integer>
|
<integer>0</integer>
|
||||||
<key>ROM</key>
|
<key>ROM</key>
|
||||||
<data>
|
<string>{{ROM}}</string>
|
||||||
{{ROM}}
|
|
||||||
</data>
|
|
||||||
<key>SpoofVendor</key>
|
<key>SpoofVendor</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>SystemMemoryStatus</key>
|
<key>SystemMemoryStatus</key>
|
||||||
|
@ -1362,8 +1356,6 @@
|
||||||
<false/>
|
<false/>
|
||||||
<key>SetupDelay</key>
|
<key>SetupDelay</key>
|
||||||
<integer>0</integer>
|
<integer>0</integer>
|
||||||
<key>VolumeAmplifier</key>
|
|
||||||
<integer>0</integer>
|
|
||||||
</dict>
|
</dict>
|
||||||
<key>ConnectDrivers</key>
|
<key>ConnectDrivers</key>
|
||||||
<true/>
|
<true/>
|
||||||
|
|
|
@ -1064,10 +1064,8 @@
|
||||||
<array/>
|
<array/>
|
||||||
<key>Security</key>
|
<key>Security</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>AllowNvramReset</key>
|
|
||||||
<true/>
|
|
||||||
<key>AllowSetDefault</key>
|
<key>AllowSetDefault</key>
|
||||||
<false/>
|
<true/>
|
||||||
<key>ApECID</key>
|
<key>ApECID</key>
|
||||||
<integer>0</integer>
|
<integer>0</integer>
|
||||||
<key>AuthRestart</key>
|
<key>AuthRestart</key>
|
||||||
|
@ -1087,7 +1085,7 @@
|
||||||
<key>PasswordSalt</key>
|
<key>PasswordSalt</key>
|
||||||
<data></data>
|
<data></data>
|
||||||
<key>ScanPolicy</key>
|
<key>ScanPolicy</key>
|
||||||
<integer>13056</integer>
|
<integer>2687747</integer>
|
||||||
<key>SecureBootModel</key>
|
<key>SecureBootModel</key>
|
||||||
<string>Disabled</string>
|
<string>Disabled</string>
|
||||||
<key>Vault</key>
|
<key>Vault</key>
|
||||||
|
@ -1221,8 +1219,6 @@
|
||||||
<string>ForceDisplayRotationInEFI</string>
|
<string>ForceDisplayRotationInEFI</string>
|
||||||
</array>
|
</array>
|
||||||
</dict>
|
</dict>
|
||||||
<key>LegacyEnable</key>
|
|
||||||
<false/>
|
|
||||||
<key>LegacyOverwrite</key>
|
<key>LegacyOverwrite</key>
|
||||||
<false/>
|
<false/>
|
||||||
<key>LegacySchema</key>
|
<key>LegacySchema</key>
|
||||||
|
@ -1273,9 +1269,7 @@
|
||||||
<key>ProcessorType</key>
|
<key>ProcessorType</key>
|
||||||
<integer>0</integer>
|
<integer>0</integer>
|
||||||
<key>ROM</key>
|
<key>ROM</key>
|
||||||
<data>
|
<string>{{ROM}}</string>
|
||||||
{{ROM}}
|
|
||||||
</data>
|
|
||||||
<key>SpoofVendor</key>
|
<key>SpoofVendor</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>SystemMemoryStatus</key>
|
<key>SystemMemoryStatus</key>
|
||||||
|
@ -1362,8 +1356,6 @@
|
||||||
<false/>
|
<false/>
|
||||||
<key>SetupDelay</key>
|
<key>SetupDelay</key>
|
||||||
<integer>0</integer>
|
<integer>0</integer>
|
||||||
<key>VolumeAmplifier</key>
|
|
||||||
<integer>0</integer>
|
|
||||||
</dict>
|
</dict>
|
||||||
<key>ConnectDrivers</key>
|
<key>ConnectDrivers</key>
|
||||||
<true/>
|
<true/>
|
||||||
|
|
|
@ -245,7 +245,7 @@ generate_bootdisk () {
|
||||||
&& [ "${UUID}" ] \
|
&& [ "${UUID}" ] \
|
||||||
&& [ "${MAC_ADDRESS}" ]; then
|
&& [ "${MAC_ADDRESS}" ]; then
|
||||||
ROM="${MAC_ADDRESS//\:/}"
|
ROM="${MAC_ADDRESS//\:/}"
|
||||||
ROM="${ROM,,}"
|
ROM="$(awk '{print tolower($0)}' <<< "${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