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