Ticket #26293: org.macports.wireshark-chmodbpf.plist

File org.macports.wireshark-chmodbpf.plist, 600 bytes (added by ghosthound, 9 years ago)

launchd plist to do ChmodBPF equivalent at startup

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3<plist version="1.0">
4<dict>
5        <key>Label</key>
6        <string>org.macports.wireshark-chmodbpf</string>
7        <key>Program</key>
8        <string>/bin/sh</string>
9        <key>ProgramArguments</key>
10        <array>
11                <string>/bin/sh</string>
12                <string>-c</string>
13                <string>/usr/sbin/chown root:admin /dev/bpf*; /bin/chmod g+r /dev/bpf*</string>
14        </array>
15        <key>RunAtLoad</key>
16        <true/>
17        <key>KeepAlive</key>
18        <dict>
19                <key>SuccessfulExit</key>
20                <false/>
21        </dict>
22</dict>
23</plist>
24