mirror of https://gitlab.com/hp3icc/emq-TE1.git
Update direwolf.sh
This commit is contained in:
parent
a64eda1bac
commit
20c2d098ab
|
|
@ -9,8 +9,20 @@ fi
|
|||
#########################################################################################################################
|
||||
# requeriments
|
||||
#########################################################################################################################
|
||||
apt-get install git gcc g++ make cmake libasound2-dev libudev-dev gpsd gpsd-clients libgps-dev ntp avahi-daemon libavahi-client-dev -y
|
||||
|
||||
apps=("git" "gcc" "g++" "make" "cmake" "libasound2-dev" "libudev-dev" "gpsd" "gpsd-clients" "libgps-dev" "ntp" "avahi-daemon" "libavahi-client-dev")
|
||||
|
||||
for app in "${apps[@]}"
|
||||
do
|
||||
# Verificar apps
|
||||
if ! dpkg -s "$app" >/dev/null 2>&1; then
|
||||
# app no instalada
|
||||
sudo apt-get install -y "$app"
|
||||
else
|
||||
# app ya instalada
|
||||
echo "$app ya instalada"
|
||||
fi
|
||||
done
|
||||
|
||||
#########################################################################################################################
|
||||
# GPSD
|
||||
|
|
@ -355,8 +367,19 @@ then
|
|||
sudo rm /etc/udev/rules.d/rtl-sdr.rules
|
||||
fi
|
||||
|
||||
apt-get install cmake build-essential libusb-1.0-0-dev -y
|
||||
apt-get install unzip -y
|
||||
apps=("cmake" "build-essential" "libusb-1.0-0-dev" "unzip")
|
||||
|
||||
for app in "${apps[@]}"
|
||||
do
|
||||
# Verificar apps
|
||||
if ! dpkg -s "$app" >/dev/null 2>&1; then
|
||||
# app no instalada
|
||||
sudo apt-get install -y "$app"
|
||||
else
|
||||
# app ya instalada
|
||||
echo "$app ya instalada"
|
||||
fi
|
||||
done
|
||||
|
||||
wget --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=14owBT_XWwA4uK5a4I8wepvd4YrC2JErh' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')&id=14owBT_XWwA4uK5a4I8wepvd4YrC2JErh" -O /opt/rtl-sdr-te1ws.zip && rm -rf /tmp/cookies.txt &&
|
||||
sudo unzip rtl-sdr-te1ws.zip
|
||||
|
|
|
|||
Loading…
Reference in New Issue