From 7825de8cffd4f4574e989686d9e255d1d1acbdd2 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sat, 1 Aug 2026 20:52:06 -0400 Subject: [PATCH] Update config -L params --- config | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/config b/config index 33f6056a..880746ae 100755 --- a/config +++ b/config @@ -1567,9 +1567,12 @@ elif [ "$1" = "-L" ]; then echo "Setting microphone level for command and control" echo - echo -e "Enter microphone level in percentage (integer 0 - 100): " - - read mic + if [ -z "$param2" ] ; then + echo -e "Enter microphone level in percentage (integer 0 - 100): " + read mic + else + mic="$param2" + fi if ! [ -z $mic ] && [[ $mic =~ ^[+-]?[0-9]+([.][0-9]+)?$ ]] ; then echo "Updating mic level"