Skip to content

Instantly share code, notes, and snippets.

@opragel
Created November 17, 2017 19:42
Show Gist options
  • Select an option

  • Save opragel/93b99a7e5cbba587edc34bb30ce4509f to your computer and use it in GitHub Desktop.

Select an option

Save opragel/93b99a7e5cbba587edc34bb30ce4509f to your computer and use it in GitHub Desktop.

Revisions

  1. opragel created this gist Nov 17, 2017.
    3 changes: 3 additions & 0 deletions ea_loaded_non_apple_kexts.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    #!/bin/bash
    loadedNonAppleKexts=$(/usr/sbin/kextstat -l | awk '!/com.apple/ { print $6 }')
    printf "<result>%s</result>" "$loadedNonAppleKexts"