Advertisement
Guest User

Untitled

a guest
May 29th, 2015
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. #!/bin/bash
  2. # wait until knock launches
  3. while [ -z "`ps cax | grep Knock`" ]; do
  4. sleep 3
  5. done
  6. # wait a bit more
  7. sleep 3
  8. # disable security agent support
  9. lldb <<EOF
  10. attach Knock
  11. expr (void)[[[NSApplication sharedApplication] delegate] setEnableSecurityAgentSupport:NO]
  12. detach
  13. quit
  14. EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement