1
0
mirror of https://github.com/AG7GN/nexus-utilities.git synced 2025-05-28 04:10:19 -07:00

Bug fixes

This commit is contained in:
Steve Magnuson 2020-03-14 10:35:02 -07:00
parent c04e77346f
commit 27e103e8f6
3 changed files with 6 additions and 5 deletions

View File

@ -78,7 +78,7 @@
#%
#================================================================
#- IMPLEMENTATION
#- version ${SCRIPT_NAME} 1.2.3
#- version ${SCRIPT_NAME} 1.2.4
#- author Steve Magnuson, AG7GN
#- license CC-BY-SA Creative Commons License
#- script_id 0
@ -98,6 +98,7 @@
SYNTAX=false
DEBUG=false
Optnum=$#
#============================
# FUNCTIONS

View File

@ -1 +1 @@
VERSION="2.1.7"
VERSION="2.1.8"

View File

@ -1,6 +1,6 @@
#!/bin/bash
VERSION="1.16.7"
VERSION="1.16.8"
#
# Script to generate new VNC server and SSH server keys at boot time if a certain
@ -137,7 +137,7 @@ do
done
echo "Restore defaults for tnc-*.conf files" >> "$INIT_DONE_FILE"
sed -i 's/^MYCALL=.*/MYCALL=\"N0ONE-10\"/' $(ls $DIR/tnc-*.conf)
sed -i 's/^MYCALL=.*/MYCALL=\"N0ONE-10\"/' $DIR/tnc-*.conf
# Restore defaults for rmsgw
@ -179,7 +179,7 @@ crontab -u $USER -l | grep -v "autohotspotN" | crontab -u $USER -
# Set radio names to default
rm -f $HOME/radionames.conf
D="/usr/local/share/applications"
for F in `ls $D/*-left.template 2>/dev/null` `ls $D/*-right.template 2>/dev/null`
for F in $D/*-left.template $D/*-right.template
do
sudo sed -e "s/_LEFT_RADIO_/Left Radio/" -e "s/_RIGHT_RADIO_/Right Radio/g" $F > ${F%.*}.desktop
done