====== RKNFG startup.sh ====== #!/bin/sh echo I am running /etc/init.d/networking stop killall wicd # start airodump, write to a file echo starting airmon-ng airmon-ng start wlan0 echo scanning the rkngf network xterm -e airodump-ng --bssid 14:D6:4D:B6:97:3C -w /path/to/your/folder/salzamt mon0 & sleep 10 cat /path/to/your/folder/salzamt-01.csv #check if airodump wrote something to the file echo Starting python # start the python script which reads the dump and controls the motors python /path/to/your/folder/reading.py # close airodump airmon-ng stop wlan0 airmon-ng stop mon0