mirror of
https://github.com/AG7GN/nexus-utilities.git
synced 2025-05-27 20:00:12 -07:00
Update install_wecg.sh
This commit is contained in:
parent
8f2fbb3169
commit
70173c6c7f
@ -45,8 +45,8 @@ function Die () {
|
||||
|
||||
# Validate input
|
||||
RE="^[0-9]+([.][0-9]+)?$"
|
||||
[[ $2 =~ $RE ]] || "ERROR: $2 is not a frequency"
|
||||
[[ ! -z $4 && $4 =~ $RE ]] || Die "ERROR: $4 is not a frequency"
|
||||
[[ $2 =~ $RE ]] || "ERROR: Arg 2: $2 is not a frequency"
|
||||
[[ ! -z $4 && $4 =~ $RE ]] || Die "ERROR: Arg 4: $4 is not a frequency"
|
||||
|
||||
FLDIGI_FREQ="$2"
|
||||
[[ ! -z $4 ]] && RESTORE_FREQ="$4" || RESTORE_FREQ=""
|
||||
|
Loading…
x
Reference in New Issue
Block a user