mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
aiccu: integrate with netifd
This patch integrates AICCU with netifd. Care was taken not to restart
aiccu without a reason as it triggers alert on SixXS infrastructure.
Example usage:
config interface 'wan6'
option 'proto' 'aiccu'
option 'username' 'HANDLE-SIXXS/TID'
option 'password' 'Password'
option 'ip6prefix' '2001:db8:aabb::/48' #Delegated subnet
option 'ip6addr' '2001:db8:aaaa:aaa::2/64' #Optional
option 'verbose' 'true'
Tested with current trunk on TL-WR703N.
Signed-off-by: Ondrej Caletka <ondrej@caletka.cz>
This commit is contained in:
+3
-2
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=aiccu
|
||||
PKG_VERSION:=20070115
|
||||
PKG_RELEASE:=10
|
||||
PKG_RELEASE:=11
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://www.sixxs.net/archive/sixxs/aiccu/unix
|
||||
@@ -45,8 +45,9 @@ define Package/aiccu/conffiles
|
||||
endef
|
||||
|
||||
define Package/aiccu/install
|
||||
$(INSTALL_DIR) $(1)/usr/sbin
|
||||
$(INSTALL_DIR) $(1)/usr/sbin $(1)/lib/netifd/proto
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/unix-console/$(PKG_NAME) $(1)/usr/sbin/
|
||||
$(INSTALL_BIN) ./files/aiccu.sh $(1)/lib/netifd/proto/aiccu.sh
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,aiccu))
|
||||
|
||||
Reference in New Issue
Block a user