From 4f924fca750f90f75acfd5589ac601783c9f12af Mon Sep 17 00:00:00 2001 From: Georgi Sabev Date: Sun, 18 Mar 2018 11:00:12 +0200 Subject: Add helper scripts for Mac OSX --- scripts/osx_check.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 scripts/osx_check.sh (limited to 'scripts/osx_check.sh') 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 -- cgit v1.2.3