mirror of https://gitlab.com/hp3icc/emq-TE1.git
Update direwolf.sh
This commit is contained in:
parent
ffc37d7721
commit
c480a285e6
|
|
@ -40,12 +40,13 @@ sed -i '$a 127.127.28.1 refid GPS1' /etc/ntp.conf
|
|||
#########################################################################################################################
|
||||
cd /opt/
|
||||
|
||||
git clone https://www.github.com/wb2osz/direwolf
|
||||
git clone https://github.com/wb2osz/direwolf.git &&
|
||||
cd direwolf
|
||||
git checkout dev
|
||||
mkdir build && cd build
|
||||
cmake ..
|
||||
make -j4
|
||||
mkdir build
|
||||
cd build
|
||||
cmake .. &&
|
||||
make -j4 &&
|
||||
sudo make install
|
||||
make install-conf
|
||||
|
||||
|
|
@ -309,7 +310,7 @@ sudo sed -i "s/144.800 VHF Port/144.390MHz VHF APRS/g" /opt/direwolf_webstat/co
|
|||
sudo sed -i "s/0,1/0/g" /opt/direwolf_webstat/config.php
|
||||
sudo sed -i 's/href="https:\/\/github.com\/IZ7BOJ\/direwolf_webstat" target/href="https:\/\/gitlab.com\/hp3icc\/emq-TE1\/" target="_blank">emq-TE1+ Raspbian Proyect<\/a> by HP3ICC, <a href="https:\/\/github.com\/IZ7BOJ\/direwolf_webstat" target/' /opt/direwolf_webstat/summary.php
|
||||
#
|
||||
sudo cat > /lib/systemd/system/http.server-dw.service <<- "EOF"
|
||||
cat > /lib/systemd/system/http.server-dw.service <<- "EOF"
|
||||
[Unit]
|
||||
Description=PHP http.server.DW
|
||||
After=network.target
|
||||
|
|
@ -355,9 +356,10 @@ then
|
|||
sudo rm /etc/udev/rules.d/rtl-sdr.rules
|
||||
fi
|
||||
|
||||
sudo apt-get install cmake build-essential libusb-1.0-0-dev -y
|
||||
apt-get install cmake build-essential libusb-1.0-0-dev -y
|
||||
apt-get install unzip -y
|
||||
|
||||
wget --no-check-certificate 'https://drive.google.com/uc?export=download&id=14owBT_XWwA4uK5a4I8wepvd4YrC2JErh' -O '/opt/rtl-sdr-te1ws.zip'
|
||||
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
|
||||
sudo rm rtl-sdr-te1ws.zip
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue