Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 711b3463 authored by Autodistries's avatar Autodistries
Browse files

restore custom net drivers

parent 7fc18827
No related branches found
No related tags found
1 merge request!1Refactoring, new features
#!/bin/bash
# run with arg 1 the sleep TO, and $2 the waiting time before doing things
if [ $2 ]; then
sleep $2
fi
rm ~/locations.log
while echo $(pgrep -a "sniffer.py" >/dev/null; echo $?); do
data=$(gpspipe --nmea -n 10 | awk -F, '$1 == "$GPGGA"' | awk -F, '{print $3, $5, $10}')
# $GPGGA,124226.00,4842.8648,N,00212.3549,E,1,07,1.30,160.28,M,46.512,M,,*63
# │ Latitude: 48.71441340 N │
# │ Longitude: 2.20591520 E │
# │ Alt (HAE, MSL): 206.490, 160.283 m
echo $data >> ~/locations.log
if [ $1 ]; then
sleep $1
else
sleep 900 #15m
fi
done
if [ $(ls ~/locations.log; echo $?) ]; do
# faut moyenner toutes les potitions imo
done
\ No newline at end of file
......@@ -11,7 +11,7 @@
# - import_playbook: ./microtask_network_drivers_update.yml
- import_playbook: ./microtask_network_drivers_update.yml
- import_playbook: ./microtask_networking_naming_scheme_udev_setup.yml
- import_playbook: ./microtask_networkmanager_un_manager_setup.yml
......
......@@ -16,7 +16,7 @@
- name: Clone or update rtl8188eus repository if necessary
ansible.builtin.git:
repo: https://github.com/aircrack-ng/rtl8188eus/
repo: https://github.com/gglluukk/rtl8188eus/
dest: ./rtl8188eus
update: true
clone: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment