aboutsummaryrefslogtreecommitdiff
path: root/scripts/osx_check.sh
blob: 09f5d9256568fbfe6905de4bc4304c1b95eda7df (plain)
1
2
3
4
5
6
7
#!/bin/bash

signed_kext_status=$(csrutil status)
if [[ $signed_kext_status = *"enabled"* ]]; then
  echo "**MAC OSX ERROR** Unsigned kernex extentions not allowed! To allow them restart in recovery OS by restarting and holding Cmd+R, open a shell and run 'csrutil disable'"
  exit 1
fi