1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00
This commit is contained in:
Ycarus (Yannick Chabanois) 2019-11-12 20:36:45 +01:00
commit 403912e76c

View file

@ -21,7 +21,7 @@ _validate_section() {
'tries:uinteger' \
'interval:uinteger' \
'interval_tries:uinteger' \
'type:string:ping' \
'type:string:undef' \
'enabled:bool:1' \
'options:string'
@ -31,7 +31,7 @@ _validate_section() {
[ -z "$interval" ] && interval=$tmp_interval
[ -z "$interval_tries" ] && interval_tries=$tmp_interval_tries
[ -z "$options" ] && options=$tmp_options
[ -z "$type" ] && type=$tmp_type
[ "$type" = "undef" ] && type=${tmp_type:-ping}
[ -z "$enabled" ] && enabled=$tmp_enabled
}