gluon/package/gluon-check-connection/Makefile
CodeFetch 9e5775865c gluon-check-connection: initial commit
This commit adds a new package which can be used for scheduled
connectivity checks.
2021-06-08 15:02:39 +02:00

22 lines
667 B
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=gluon-check-connection
PKG_VERSION:=1
include ../gluon.mk
define Package/$(PKG_NAME)
TITLE:=Checks if a node can ping definable targets
DEPENDS:=+gluon-core +micrond @GLUON_MULTIDOMAIN
endef
define Package/$(PKG_NAME)/description
Script to check if there is a connection to any gateway and also if there is
a connection to the global internet. This script is called once every minute
by ``micrond``. It will trigger scripts which will be executed if a
connection state changes or after a definable interval after which
connections checks have been performed.
endef
$(eval $(call BuildPackageGluon,$(PKG_NAME)))