Browse Source

Merge pull request #12751 from dibdot/foolsm

foolsm: change mail dependency
lilik-openwrt-22.03
Rosen Penev 5 years ago
committed by GitHub
parent
commit
245720750b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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