Browse Source

foolsm: change mail dependency

* changed mail dependency from orphaned 'ssmtp' to 'msmtp'

Signed-off-by: Dirk Brenken <dev@brenken.org>
lilik-openwrt-22.03
Dirk Brenken 4 years ago
parent
commit
c5a6a1a2bd
No known key found for this signature in database GPG Key ID: 9D71CD547BFAE684
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      net/foolsm/Makefile
  2. +1
    -1
      net/foolsm/files/foolsm_script

+ 2
- 2
net/foolsm/Makefile View File

@ -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


+ 1
- 1
net/foolsm/files/foolsm_script View File

@ -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…
Cancel
Save