Update config fix param3

master-bo
Alan Johnston 2 months ago committed by GitHub
parent fc425f4c2d
commit 98b133685d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -137,8 +137,6 @@ param2=$2
param3=$3
param4=$4
echo "param3" $param3
sudo modprobe snd-aloop
if [ "$2" = "-n" ] ; then
@ -1238,6 +1236,8 @@ elif [ "$1" = "-P" ]; then
restart=1
fi
if [ -z "$param3" ] ; then
txpl="${11}"
else
txpl="$param3"
echo "Changing TX PL to" $txpl
if ! [[ $txpl =~ ^[+-]?[0-9]+([.][0-9]+)?$ ]] ; then
@ -1245,9 +1245,6 @@ elif [ "$1" = "-P" ]; then
txpl="${11}"
echo "Keeping value of" $txpl
fi
else
txpl="${11}"
echo "No param3"
fi
fi

Loading…
Cancel
Save

Powered by TurnKey Linux.