Merge pull request #12751 from dibdot/foolsm
foolsm: change mail dependency
This commit is contained in:
commit
245720750b
2 changed files with 3 additions and 3 deletions
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=foolsm
|
PKG_NAME:=foolsm
|
||||||
PKG_VERSION:=1.0.13
|
PKG_VERSION:=1.0.13
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=http://lsm.foobar.fi/download
|
PKG_SOURCE_URL:=http://lsm.foobar.fi/download
|
||||||
|
@ -26,7 +26,7 @@ include $(INCLUDE_DIR)/package.mk
|
||||||
define Package/foolsm
|
define Package/foolsm
|
||||||
SECTION:=net
|
SECTION:=net
|
||||||
CATEGORY:=Network
|
CATEGORY:=Network
|
||||||
DEPENDS:=+ssmtp
|
DEPENDS:=+msmtp
|
||||||
TITLE:=A link state monitor
|
TITLE:=A link state monitor
|
||||||
URL:=http://lsm.foobar.fi/
|
URL:=http://lsm.foobar.fi/
|
||||||
endef
|
endef
|
||||||
|
|
|
@ -22,7 +22,7 @@ CONS_WAIT=${11}
|
||||||
CONS_MISS=${12}
|
CONS_MISS=${12}
|
||||||
AVG_RTT=${13}
|
AVG_RTT=${13}
|
||||||
|
|
||||||
cat <<EOM | ssmtp ${WARN_EMAIL}
|
cat <<EOM | msmtp ${WARN_EMAIL}
|
||||||
Subject: "LSM: ${NAME} ${STATE}, DEV ${DEVICE}"
|
Subject: "LSM: ${NAME} ${STATE}, DEV ${DEVICE}"
|
||||||
|
|
||||||
Hi,
|
Hi,
|
||||||
|
|
Loading…
Reference in a new issue