Skip to content

Instantly share code, notes, and snippets.

@ichizok
Created May 14, 2014 18:58
Show Gist options
  • Save ichizok/1642c8bbeb50cb333252 to your computer and use it in GitHub Desktop.
Save ichizok/1642c8bbeb50cb333252 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>org.wireshark.chmod_bpf</string>
<key>ProgramArguments</key>
<array>
<string>/bin/sh</string>
<string>-c</string>
<string>/usr/bin/chgrp admin /dev/bpf*; /bin/chmod g+rw /dev/bpf*</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<dict>
<key>SuccessfulExit</key>
<false/>
</dict>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment