mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
bbfdm: link plugins from old path
This commit is contained in:
parent
fdb1dbbba0
commit
594b13f5f9
2 changed files with 20 additions and 1 deletions
|
|
@ -5,7 +5,7 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=bbfdm
|
PKG_NAME:=bbfdm
|
||||||
PKG_VERSION:=1.4.0
|
PKG_VERSION:=1.4.1
|
||||||
|
|
||||||
USE_LOCAL:=0
|
USE_LOCAL:=0
|
||||||
ifneq ($(USE_LOCAL),1)
|
ifneq ($(USE_LOCAL),1)
|
||||||
|
|
@ -172,6 +172,7 @@ define Package/libbbfdm/default/install
|
||||||
$(INSTALL_DATA) ./files/lib/upgrade/keep.d/bbf $(1)/lib/upgrade/keep.d/bbf
|
$(INSTALL_DATA) ./files/lib/upgrade/keep.d/bbf $(1)/lib/upgrade/keep.d/bbf
|
||||||
$(INSTALL_BIN) ./files/etc/uci-defaults/95-portmap-firewall $(1)/etc/uci-defaults/95-portmap-firewall
|
$(INSTALL_BIN) ./files/etc/uci-defaults/95-portmap-firewall $(1)/etc/uci-defaults/95-portmap-firewall
|
||||||
$(INSTALL_BIN) ./files/etc/uci-defaults/97-firewall-service $(1)/etc/uci-defaults/97-firewall-service
|
$(INSTALL_BIN) ./files/etc/uci-defaults/97-firewall-service $(1)/etc/uci-defaults/97-firewall-service
|
||||||
|
$(INSTALL_BIN) ./files/etc/uci-defaults/99-link-core-plugins $(1)/etc/uci-defaults/99-link-core-plugins
|
||||||
$(INSTALL_BIN) ./files/etc/firewall.portmap $(1)/etc/firewall.portmap
|
$(INSTALL_BIN) ./files/etc/firewall.portmap $(1)/etc/firewall.portmap
|
||||||
$(INSTALL_BIN) ./files/etc/firewall.service $(1)/etc/firewall.service
|
$(INSTALL_BIN) ./files/etc/firewall.service $(1)/etc/firewall.service
|
||||||
ifeq ($(CONFIG_BBF_TR143),y)
|
ifeq ($(CONFIG_BBF_TR143),y)
|
||||||
|
|
|
||||||
18
bbfdm/files/etc/uci-defaults/99-link-core-plugins
Normal file
18
bbfdm/files/etc/uci-defaults/99-link-core-plugins
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
UNIFIED_PATH="/etc/bbfdm/plugins/"
|
||||||
|
|
||||||
|
# Link JSON plugins
|
||||||
|
for f in `ls -1 /etc/bbfdm/json/*.json`; do
|
||||||
|
echo "# BBFDM JSON plugin ${f} not aligned #"
|
||||||
|
ln -s ${f} "${UNIFIED_PATH}"
|
||||||
|
done
|
||||||
|
|
||||||
|
# Link DotSo plugins
|
||||||
|
for f in `ls -1 /usr/lib/bbfdm/*.so`; do
|
||||||
|
echo "# BBFDM DotSO plugin ${f} not aligned #"
|
||||||
|
ln -s ${f} "${UNIFIED_PATH}"
|
||||||
|
done
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
|
||||||
Loading…
Add table
Reference in a new issue