aboutsummaryrefslogtreecommitdiff
path: root/scripts/osx_check.sh
diff options
context:
space:
mode:
authorReiner Herrmann <reiner@reiner-h.de>2019-07-31 20:49:52 +0000
committerGitHub <noreply@github.com>2019-07-31 20:49:52 +0000
commitaa5a8bd0ecc50f9f9d05abac6654c8c28074c1e2 (patch)
treed248651290b03e5d618adeab991b7856888aad74 /scripts/osx_check.sh
parent4092a230b6c56e63e4a5b2a9181dde91f54ae5aa (diff)
parent4f924fca750f90f75acfd5589ac601783c9f12af (diff)
Merge pull request #2 from georgethebeatle/macosx-supportHEADtrunk
Mac OSX support
Diffstat (limited to 'scripts/osx_check.sh')
-rwxr-xr-xscripts/osx_check.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/osx_check.sh b/scripts/osx_check.sh
new file mode 100755
index 0000000..09f5d92
--- /dev/null
+++ b/scripts/osx_check.sh
@@ -0,0 +1,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