kopia lustrzana https://github.com/km4ack/pi-build
commit
c8d02f6d1d
|
@ -16,6 +16,7 @@ version=3.0.6
|
|||
fix YAAC not updating
|
||||
fix issue #181 https://github.com/km4ack/pi-build/issues/181
|
||||
fix GPS update tool install to avoid duplicate downloads
|
||||
fix sstv install
|
||||
|
||||
3.0.5 Fix RTC https://github.com/km4ack/pi-build/issues/139
|
||||
Add Telnet https://github.com/km4ack/pi-build/issues/129
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#script to gather some system information
|
||||
#to help diagnose issues
|
||||
#20200616 km4ack
|
||||
|
||||
#11FEB2021 review km4ack
|
||||
clear;echo;echo
|
||||
read -p "What is your call sign? " CALL
|
||||
|
||||
|
|
|
@ -289,9 +289,9 @@ sudo apt-get install -y g++ libfftw3-dev qt5-default libpulse-dev libhamlib-dev
|
|||
|
||||
cd $HOME/Downloads
|
||||
|
||||
TAR=$(curl -s http://users.telenet.be/on4qz/qsstv/downloads/ | grep tar.gz | sed 's/.*href="//' | sed 's/">.*$//')
|
||||
TAR=$(curl -s http://users.telenet.be/on4qz/qsstv/downloads/ | grep tar.gz | sed 's/.*href="//' | sed 's/">.*$//' | tail -1)
|
||||
wget --tries 2 --connect-timeout=60 http://users.telenet.be/on4qz/qsstv/downloads/$TAR
|
||||
SSTVTAR=$(echo $TAR | sed 's/.tar.gz//')
|
||||
SSTVTAR=$(echo $TAR | sed 's/.tar.gz//;s/.0//')
|
||||
tar -xvzf $TAR
|
||||
cd $SSTVTAR
|
||||
qmake
|
||||
|
|
|
@ -456,5 +456,33 @@ EOF
|
|||
sudo mv gpsupdate.desktop /usr/share/applications/
|
||||
}
|
||||
|
||||
##################################
|
||||
# removeMS Tool
|
||||
##################################
|
||||
|
||||
REMOVEMS(){
|
||||
#download the file
|
||||
cd $HOME/bin
|
||||
wget https://raw.githubusercontent.com/km4ack/pi-scripts/master/removeMS
|
||||
chmod +x $HOME/bin/removeMS
|
||||
#place user directions on desktop
|
||||
cat <<EOF>$HOME/Desktop/Block-Microsoft.txt
|
||||
You have chosen to install the removeMS
|
||||
script which will block the Pi from accessing
|
||||
the Microsoft repository. The block has not
|
||||
been applied yet. To apply the block, open a
|
||||
terminal window and run the following command:
|
||||
|
||||
removeMS
|
||||
|
||||
You only need to perform the block one time for
|
||||
each Pi. You can delete the removeMS script
|
||||
from your system by running:
|
||||
|
||||
rm ~/bin/removeMS
|
||||
|
||||
More information is available in this video
|
||||
https://youtu.be/I7jLVgnnUW0
|
||||
EOF
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue