Ash Wilson | 96a56b4 | 2016-01-30 15:13:13 -0800 | [diff] [blame^] | 1 | #!/bin/bash |
| 2 | export AP_DECODE=/usr/local/bin/airprobe_decode.py |
| 3 | # We expect $CAPFILE to be defined. If not, exit... |
| 4 | if test -z $CAPFILE ; then |
| 5 | echo "Missing CAPFILE environment variable." |
| 6 | exit 1 |
| 7 | fi |
| 8 | /usr/bin/python $AP_DECODE -c $CAPFILE |