Update config restart after PL change

beta-pl
Alan Johnston 2 years ago committed by GitHub
parent 9a7ccafbfb
commit 04ca68d48a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -641,6 +641,8 @@ elif [ "$1" = "-P" ]; then
rxpl="${10}" rxpl="${10}"
echo "Keeping value of" $rxpl echo "Keeping value of" $rxpl
else
restart=1
fi fi
if ! [[ $rxpl =~ ^[+-]?[0-9]+([.][0-9]+)?$ ]] ; then if ! [[ $rxpl =~ ^[+-]?[0-9]+([.][0-9]+)?$ ]] ; then
@ -648,6 +650,8 @@ elif [ "$1" = "-P" ]; then
echo "Error: not a number!" echo "Error: not a number!"
rxpl="${10}" rxpl="${10}"
echo "Keeping value of" $rxpl echo "Keeping value of" $rxpl
else
restart=1
fi fi
echo -e "Enter TX PL value integer 0: None, 01-38 CTCSS analog, 39-121CDCSS digital" echo -e "Enter TX PL value integer 0: None, 01-38 CTCSS analog, 39-121CDCSS digital"

Loading…
Cancel
Save

Powered by TurnKey Linux.