Last active
August 29, 2015 14:03
-
-
Save kevinnz/7ca9166ca3a1e1210aa1 to your computer and use it in GitHub Desktop.
Pineapple boot script setting date from usb attached GPS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ifconfig wlan0 down | |
ifconfig wlan1 down | |
iwconfig wlan1 mode monitor | |
GPSDATE=`/root/get_gps_date.py` | |
date -u -s "$GPSDATE" | |
kismet_server > /sd/kismet_logs/ks.log 2>&1 & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment