Skip to content

Instantly share code, notes, and snippets.

@kevinnz
Last active August 29, 2015 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kevinnz/7ca9166ca3a1e1210aa1 to your computer and use it in GitHub Desktop.
Save kevinnz/7ca9166ca3a1e1210aa1 to your computer and use it in GitHub Desktop.
Pineapple boot script setting date from usb attached GPS
#!/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