Skip to content
Snippets Groups Projects
Commit 0d0e8446 authored by Michael Schwarz's avatar Michael Schwarz
Browse files

Enable ipv6-uplink

parent 2e9ec82d
No related branches found
No related tags found
No related merge requests found
include $(TOPDIR)/rules.mk
PKG_NAME:=ffpb-v6uplink
PKG_VERSION:=1
PKG_RELEASE:=$(GLUON_VERSION).$(GLUON_SITE_CODE)-$(GLUON_RELEASE).$(GLUON_CONFIG_VERSION)
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
define Package/gluon-core
SECTION:=ffpb
CATEGORY:=ffpb
TITLE:=FFPB-IPv6-Uplink
DEPENDS:=+odhcp6c
endef
define Package/ffpb-v6uplink/description
Give gluon-nodes an ipv6 uplink
endef
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
endef
define Build/Configure
endef
define Build/Compile
endef
define Package/gluon-core/install
$(CP) ./files/* $(1)/
endef
$(eval $(call BuildPackage,gluon-core))
#!/bin/sh
. /lib/functions.sh
uci_set network wan defaultroute '0'
uci_remove network wan6
uci_add network interface wan6
uci_set network wan6 ifname '@wan'
uci_set network wan6 proto 'dhcpv6'
uci_set network wan6 reqprefix 'no'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment