Returns either enabled or disabled or a blank value on <10.11 machines.
#!/bin/sh
result=$(csrutil status | awk '{ print $5 }' | tr -d '.')
echo "<result>$result</result>"
Returns either enabled or disabled or a blank value on <10.11 machines.
#!/bin/sh
result=$(csrutil status | awk '{ print $5 }' | tr -d '.')
echo "<result>$result</result>"
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.