Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion utils/watchcat/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=watchcat
PKG_VERSION:=1
PKG_RELEASE:=22
PKG_RELEASE:=23

PKG_MAINTAINER:=Roger D <rogerdammit@gmail.com>
PKG_LICENSE:=GPL-2.0
Expand Down
4 changes: 2 additions & 2 deletions utils/watchcat/files/watchcat.init
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ config_watchcat() {
config_get forcedelay "$1" forcedelay "60"
config_get pingsize "$1" pingsize "standard"
config_get interface "$1" interface
config_get mmifacename "$1" mmifacename "null"
config_get mmifacename "$1" mmifacename
config_get_bool unlockbands "$1" unlockbands "0"
config_get addressfamily "$1" addressfamily "any"
config_get script "$1" script
Expand Down Expand Up @@ -73,7 +73,7 @@ config_watchcat() {
append_string "warn" "pingperiod cannot be a negative value." "; "
fi

if [ "$mmifacename" != "null" ] && [ "$period" -lt 30 ]; then
if [ -n "$mmifacename" ] && [ "$period" -lt 30 ]; then
append_string "error" "Check interval is less than 30s. For robust operation with ModemManager modem interfaces it is recommended to set the period to at least 30s."
fi
fi
Expand Down
Loading