mirror of
https://gitlab.com/amrron/setup-scripts.git
synced 2026-10-17 01:54:00 -04:00
commstat-v4
This commit is contained in:
+29
-15
@@ -420,6 +420,9 @@ else
|
||||
ARDOPCFVER="NOT INSTALLED"
|
||||
fi
|
||||
|
||||
CSIMPVER=$(curl -s https://commstat-improved.com/downloads.php | grep .zip | awk -F "downloads/" '{print $2}' | awk -F ".zip" '{print $1}' | head -n 1)
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1810,20 +1813,31 @@ fi
|
||||
|
||||
}
|
||||
|
||||
function commstat-v2() {
|
||||
function commstat-v4() {
|
||||
|
||||
if [[ ! -f $USERDIR/commstat-v4/commstat.py ]]; then
|
||||
|
||||
mkdir $USERDIR/commstat-v4 && cd $USERDIR/commstat-v4 ||
|
||||
{ ERRCODE="Failed to create commstat-v4 directory"; errors; }
|
||||
|
||||
wget -N https://commstat-improved.com/downloads/${CSIMPVER}.zip ||
|
||||
{ ERRCODE="Failed to download CommStat Improved version 4"; errors; }
|
||||
|
||||
unzip $CSIMPVER.zip ||
|
||||
{ ERRCODE="Failed to unzip commstat-v4"; errors; }
|
||||
|
||||
chmod +x linuxinstall.sh linuxlauncher.sh ||
|
||||
{ ERRCODE="Failed to make linuxinstall.sh and linuxlauncher.sh executable"; errors; }
|
||||
|
||||
./$USERDIR/commstat-v4/linuxinstaller.sh ||
|
||||
{ ERRCODE="Failed to run CommStat-v4 installer" }
|
||||
|
||||
if [[ ! -f $USERDIR/commstatone/commstat.py ]]; then
|
||||
comstat_install
|
||||
else
|
||||
cd $USERDIR && git clone https://gitlab.com/amrron/commstat-v2.git ||
|
||||
{ ERRCODE="Failed to clone CommStat V2 repository"; errors; }
|
||||
|
||||
cp -r $USERDIR/commstat-v2/* $USERDIR/commstatone/ ||
|
||||
{ ERRCODE="Failed to copy files to Commstatone directory"; errors; }
|
||||
echo "CommStat v4 appears to be installed already, please launch it to perform updates."
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
|
||||
function js8call_install() {
|
||||
|
||||
if [[ $NEWJS8CALLVER == "SERVER DOWN" ]]; then
|
||||
@@ -3582,7 +3596,7 @@ yad --image=$DIR/images/corps-icon.png --center --checklist --print-column=2 --s
|
||||
false "JS8CALL" "JS8Call Weak Signal QSO program." "${JS8CALLVER}" "${NEWJS8CALLVER}" \
|
||||
false "JS8CALL_2.2.0" "JS8Call Weak Signal QSO program. Stable v. 2.2.0" "${JS8CALLVER}" "${NEWJS8CALLVER}" \
|
||||
false "COMMSTATONE" "JS8Call mapping (Mint only)" "Unknown" "Unknown" \
|
||||
false "COMMSTATV2" "JS8Call mapping - KD9DSS modified" "Unknown" "Unknown" \
|
||||
false "COMMSTATV4" "JS8Call mapping - KD9DSS modified" "Unknown" "${CSIMPVER}" \
|
||||
false "PULSE" "Pulseaudio suite. Includes pulseaudio, pavucontrol, and pulseaudio-utils." "Unable to determine" "Unable to determine" \
|
||||
false "PIPEWIRE" "Removes Pipewire and reverts system to pulseaudio." "Unable to determine" "Unable to determine" \
|
||||
false "UBLOX" "Installs programs and settings to use the UBLOX GPS for system time." "Unable to determine" "Unable to determine" \
|
||||
@@ -3591,7 +3605,7 @@ yad --image=$DIR/images/corps-icon.png --center --checklist --print-column=2 --s
|
||||
|
||||
rc=$?
|
||||
if [[ $rc == 2 ]]; then
|
||||
radioArray=(HAMLIB FLDIGI FLMSG FLAMP FLRIG FLWRAP ARDOPCF ARDOPGUI ARIM GARIM VARIM PAT FINDARDOP VOACAP CHIRP WSJTX JS8CALL_2.2.0 FLMSG_VIEWER PULSE UBLOX FORMS COMMSTATONE)
|
||||
radioArray=(HAMLIB FLDIGI FLMSG FLAMP FLRIG FLWRAP ARDOPCF ARDOPGUI ARIM GARIM VARIM PAT FINDARDOP VOACAP CHIRP WSJTX JS8CALL_2.2.0 FLMSG_VIEWER PULSE UBLOX FORMS COMMSTATV4)
|
||||
|
||||
for i in "${radioArray[@]}"
|
||||
do
|
||||
@@ -4050,7 +4064,7 @@ rc=$?
|
||||
mkdir -p $USERDIR
|
||||
fi
|
||||
CONKYSEL=STANDARD
|
||||
easyArray=(HAMLIB FLDIGI FLMSG FLAMP FLRIG FLWRAP ARDOPCF ARDOPGUI ARIM GARIM VARIM PAT FINDARDOP VOACAP CHIRP WSJTX JS8CALL_2.2.0 FLMSG_VIEWER PULSE UBLOX FORMS MINICOM GTKTERM QTTERMTCP PUTTY DIREWOLF YAAC PACKET_GUIDE GEDIT VIM FILEZILLA MATCHBOX_KEYBOARD SCREEN SPEEDTEST CONKY LIBREOFFICE FAIL2BAN KEEPASS PTE PFE VERACRYPT BITMESSAGE HARDEN_SSH GTKHASH KLEOPATRA ICONS COMMSTATONE)
|
||||
easyArray=(HAMLIB FLDIGI FLMSG FLAMP FLRIG FLWRAP ARDOPCF ARDOPGUI ARIM GARIM VARIM PAT FINDARDOP VOACAP CHIRP WSJTX JS8CALL_2.2.0 FLMSG_VIEWER PULSE UBLOX FORMS MINICOM GTKTERM QTTERMTCP PUTTY DIREWOLF YAAC PACKET_GUIDE GEDIT VIM FILEZILLA MATCHBOX_KEYBOARD SCREEN SPEEDTEST CONKY LIBREOFFICE FAIL2BAN KEEPASS PTE PFE VERACRYPT BITMESSAGE HARDEN_SSH GTKHASH KLEOPATRA ICONS COMMSTATV4)
|
||||
|
||||
for i in "${easyArray[@]}"
|
||||
do
|
||||
@@ -4198,9 +4212,9 @@ cat /tmp/results | yad --text-info --center \
|
||||
COMMSTATONE) echo -e ${ACTION}"Installing / Updating COMMATATONE"${NOCOLOR}
|
||||
comstat_install
|
||||
;;
|
||||
COMMSTATV2) echo -e ${ACTION}"Installing / Updating COMMATAT V2"${NOCOLOR}
|
||||
commstat-v2
|
||||
;;
|
||||
COMMSTATV4) echo -e ${ACTION}"Installing / Updating COMMATAT V4"${NOCOLOR}
|
||||
commstat-v4
|
||||
;;
|
||||
UBLOX) echo -e ${ACTION}"Installing / Updating UBLOX"${NOCOLOR}
|
||||
ublox_gps_setup
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user