+++ /dev/null
-#
-# Copyright (C) 2010-2012 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=ipv6-support
-PKG_VERSION:=2013-01-23
-PKG_RELEASE:=1
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/ipv6-support
- SECTION:=ipv6
- CATEGORY:=IPv6
- DEPENDS:=+kmod-ipv6 +6relayd +odhcp6c +ip6tables
- TITLE:=Basic IPv6-support for Customer Edge Routers
- MAINTAINER:=Steven Barth <steven@midlink.org>
- PKGARCH:=all
-endef
-
-define Package/ipv6-support/description
-This package provides basic IPv6 support including Router Discovery,
-DHCPv6 (client & server), prefix delegation and distribution.
-endef
-
-define Build/Compile
-endef
-
-define Build/Configure
-endef
-
-define Package/ipv6-support/install
- $(INSTALL_DIR) $(1)/etc/uci-defaults
- $(INSTALL_BIN) ./files/network-enable-ipv6.defaults $(1)/etc/uci-defaults/10_network-enable-ipv6
-endef
-
-$(eval $(call BuildPackage,ipv6-support))
+++ /dev/null
-#!/bin/sh
-# Don't override existing settings
-uci get network.globals && exit 0
-
-uci -q batch <<-EOF >/dev/null
- set network.globals=globals
- set network.globals.ula_prefix=auto
- set network.wan6=interface
- set network.wan6.proto=dhcpv6
- set network.wan6.ifname=@wan
- set network.lan.ip6assign=64
- set network.wan.ipv6=1
- commit network
-EOF