Browse Source

Merge pull request #10506 from dibdot/banIP

banIP: update 0.3.8
lilik-openwrt-22.03
Dirk Brenken 5 years ago
committed by GitHub
parent
commit
086ca890f6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions
  1. +1
    -1
      net/banip/Makefile
  2. +4
    -1
      net/banip/files/banip.hotplug
  3. +1
    -1
      net/banip/files/banip.sh

+ 1
- 1
net/banip/Makefile View File

@ -6,7 +6,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=banip
PKG_VERSION:=0.3.7
PKG_VERSION:=0.3.8
PKG_RELEASE:=1
PKG_LICENSE:=GPL-3.0-or-later
PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org>


+ 4
- 1
net/banip/files/banip.hotplug View File

@ -1,8 +1,11 @@
#!/bin/sh
#
[ "${ACTION}" != "add" ] && exit 0
ban_iface="wan"
[ -r "/lib/functions/network.sh" ] && { . "/lib/functions/network.sh"; network_find_wan ban_iface; }
[ "${INTERFACE}" != "${ban_iface}" ] && exit 0
ban_pidfile="/var/run/banip.pid"
ban_enabled="$(/etc/init.d/banip enabled; printf "%u" "${?}")"
if [ "${ban_enabled}" = "0" ] && [ ! -s "${ban_pidfile}" ]


+ 1
- 1
net/banip/files/banip.sh View File

@ -13,7 +13,7 @@
#
LC_ALL=C
PATH="/usr/sbin:/usr/bin:/sbin:/bin"
ban_ver="0.3.7"
ban_ver="0.3.8"
ban_basever=""
ban_enabled=0
ban_automatic="1"


Loading…
Cancel
Save