| 1 |
#!/bin/bash -e |
| 2 |
|
| 3 |
if [ -x /usr/bin/bustle-pcap ]; then |
| 4 |
exec /usr/bin/bustle-pcap $1 |
| 5 |
fi |
| 6 |
|
| 7 |
if [ -x /usr/bin/bustle-dbus-monitor ]; then |
| 8 |
exec /usr/bin/bustle-dbus-monitor --session > $1 |
| 9 |
fi |
| 10 |
|
| 11 |
echo "Unable to find a suitable Bustle capture tool" |
| 12 |
exit 1 |
| 13 |
|