Merge pull request #26 from sickcodes/efi-remove

EFI Remove, fix scan policy
This commit is contained in:
sickcodes 2022-11-19 10:35:40 +00:00 committed by GitHub
commit 6568c9d8c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 23 deletions

View file

@ -1064,10 +1064,8 @@
<array/>
<key>Security</key>
<dict>
<key>AllowNvramReset</key>
<true/>
<key>AllowSetDefault</key>
<false/>
<true/>
<key>ApECID</key>
<integer>0</integer>
<key>AuthRestart</key>
@ -1087,7 +1085,7 @@
<key>PasswordSalt</key>
<data></data>
<key>ScanPolicy</key>
<integer>13056</integer>
<integer>2687747</integer>
<key>SecureBootModel</key>
<string>Disabled</string>
<key>Vault</key>
@ -1221,8 +1219,6 @@
<string>ForceDisplayRotationInEFI</string>
</array>
</dict>
<key>LegacyEnable</key>
<false/>
<key>LegacyOverwrite</key>
<false/>
<key>LegacySchema</key>
@ -1273,9 +1269,7 @@
<key>ProcessorType</key>
<integer>0</integer>
<key>ROM</key>
<data>
{{ROM}}
</data>
<string>{{ROM}}</string>
<key>SpoofVendor</key>
<true/>
<key>SystemMemoryStatus</key>
@ -1362,8 +1356,6 @@
<false/>
<key>SetupDelay</key>
<integer>0</integer>
<key>VolumeAmplifier</key>
<integer>0</integer>
</dict>
<key>ConnectDrivers</key>
<true/>

View file

@ -1064,10 +1064,8 @@
<array/>
<key>Security</key>
<dict>
<key>AllowNvramReset</key>
<true/>
<key>AllowSetDefault</key>
<false/>
<true/>
<key>ApECID</key>
<integer>0</integer>
<key>AuthRestart</key>
@ -1087,7 +1085,7 @@
<key>PasswordSalt</key>
<data></data>
<key>ScanPolicy</key>
<integer>13056</integer>
<integer>2687747</integer>
<key>SecureBootModel</key>
<string>Disabled</string>
<key>Vault</key>
@ -1221,8 +1219,6 @@
<string>ForceDisplayRotationInEFI</string>
</array>
</dict>
<key>LegacyEnable</key>
<false/>
<key>LegacyOverwrite</key>
<false/>
<key>LegacySchema</key>
@ -1273,9 +1269,7 @@
<key>ProcessorType</key>
<integer>0</integer>
<key>ROM</key>
<data>
{{ROM}}
</data>
<string>{{ROM}}</string>
<key>SpoofVendor</key>
<true/>
<key>SystemMemoryStatus</key>
@ -1362,8 +1356,6 @@
<false/>
<key>SetupDelay</key>
<integer>0</integer>
<key>VolumeAmplifier</key>
<integer>0</integer>
</dict>
<key>ConnectDrivers</key>
<true/>

View file

@ -245,7 +245,7 @@ generate_bootdisk () {
&& [ "${UUID}" ] \
&& [ "${MAC_ADDRESS}" ]; then
ROM="${MAC_ADDRESS//\:/}"
ROM="${ROM,,}"
ROM="$(awk '{print tolower($0)}' <<< "${ROM}")"
sed -e s/\{\{DEVICE_MODEL\}\}/"${DEVICE_MODEL}"/g \
-e s/\{\{SERIAL\}\}/"${SERIAL}"/g \
-e s/\{\{BOARD_SERIAL\}\}/"${BOARD_SERIAL}"/g \