################################## # DIPOLE CALC ################################## DIPOLE(){ cd $HOME/bin wget --tries 2 --connect-timeout=60 https://raw.githubusercontent.com/km4ack/pi-scripts/master/dipole chmod +x dipole cat > dipole.desktop < getcall.desktop </dev/null; then sudo apt-get install -y bc fi cd $HOME/bin wget --tries 2 --connect-timeout=60 https://raw.githubusercontent.com/km4ack/pi-scripts/master/converttemp chmod +x converttemp cat > converttemp.desktop < showlog.desktop < /sys/class/i2c-adapter/i2c-1/new_device" | sudo tee -a /etc/rc.local > /dev/null 2>&1 echo "sudo hwclock -s" | sudo tee -a /etc/rc.local > /dev/null 2>&1 echo "date" | sudo tee -a /etc/rc.local > /dev/null 2>&1 echo "exit 0" | sudo tee -a /etc/rc.local > /dev/null 2>&1 yad --form --width=500 --text-align=center --center --title="Build-a-Pi" --text-align=center \ --image $LOGO --window-icon=$LOGO --image-on-top --separator="|" --item-separator="|" \ --text="Real Time Clock has been installed and configured" \ --button=gtk-close fi fi #close first if/then statement } ################################## # PISTATS ################################## PISTATS(){ cd $HOME CUR=$(curl -s http://www.w1hkj.com/pi3/ | grep .tgz | sed 's/.*pistats//' | sed 's/<\/a>
//') wget http://www.w1hkj.com/pi3/pistats$CUR tar -xzvf pistats$CUR rm pistats$CUR PISTATDIR=$(ls $HOME | grep pistats) cd $PISTATDIR sudo apt-get install -y libfltk1.3-dev make sudo mv pistats /usr/local/bin sudo mv $HOME/$PISTATDIR/data/pistats.desktop /usr/share/applications/ cd $HOME rm -rf $PISTATDIR } ################################## # TELNET ################################## TELNET(){ sudo apt install -y telnet } ################################## # PiQtTermTCP ################################## PITERM(){ cd $DIR wget https://www.cantab.net/users/john.wiseman/Downloads/Beta/piQtTermTCP sudo chmod +x piQtTermTCP sudo mv piQtTermTCP /usr/local/bin/ cat > piqttermtcp.desktop < secure-file.desktop < ygate.desktop < bpq-config.desktop < $FILE LinBPQ was installed during the build. You will find the config file generator under accessories in the main pi menu. NO CONFIGURATION was done for LinBPQ during the build. Each individual operator is responsible for configuring his/her station. After completing the config file, you can start LinBPQ from the command line by running: ~/linbpq/.linbpq Depending on your station setup, you may need to start rig control, direwolf, or other applications before running LinBPQ. If you need help, you can find the LinBPQ forums at https://groups.io/g/bpq32/topics and the main LinBPQ web page at http://g8bpq.org.uk EOF } ################################## # Battery Test Script ################################## BATT(){ cd $HOME/bin wget https://raw.githubusercontent.com/km4ack/pi-scripts/master/batt-test chmod +x batt-test cat > battery-test.desktop < gpsupdate.desktop <