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

Cleanup old packages

parent 61ca722b
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/ffpb-v6uplink
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/ffpb-v6uplink/install
$(CP) ./files/* $(1)/
endef
$(eval $(call BuildPackage,ffpb-v6uplink))
#!/bin/sh
. /lib/functions.sh
uci_set network client 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