6distributed: Remove obsolete service (replaced by netifd)
SVN-Revision: 35169
This commit is contained in:
parent
847cd984b9
commit
859fd7f614
@ -1,46 +0,0 @@
|
|||||||
#
|
|
||||||
# Copyright (C) 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:=6distributed
|
|
||||||
PKG_VERSION:=2012-12-29
|
|
||||||
PKG_RELEASE=$(PKG_SOURCE_VERSION)
|
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
|
||||||
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
|
||||||
PKG_SOURCE_URL:=git://github.com/sbyx/6distributed.git
|
|
||||||
PKG_SOURCE_PROTO:=git
|
|
||||||
PKG_SOURCE_VERSION:=6b491edfed983873ae334510fee380617c2021c4
|
|
||||||
|
|
||||||
PKG_MAINTAINER:=Steven Barth <steven@midlink.org>
|
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
|
||||||
include $(INCLUDE_DIR)/cmake.mk
|
|
||||||
|
|
||||||
define Package/6distributed
|
|
||||||
SECTION:=ipv6
|
|
||||||
CATEGORY:=IPv6
|
|
||||||
TITLE:=IPv6 host prefix distribution daemon
|
|
||||||
DEPENDS:=+kmod-ipv6 +libubus +libubox
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/6distributed/description
|
|
||||||
6distributed is a daemon that distributes IPv6 prefixes locally across
|
|
||||||
downstream interfaces. It supports valid and preferred lifetimes and
|
|
||||||
delayed allocation so that an already acquired prefix can be distributed
|
|
||||||
on interfaces that come up later.
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/6distributed/install
|
|
||||||
$(INSTALL_DIR) $(1)/usr/sbin/
|
|
||||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/6distributed $(1)/usr/sbin/
|
|
||||||
$(INSTALL_DIR) $(1)/etc/init.d
|
|
||||||
$(INSTALL_BIN) ./files/6distributed.init $(1)/etc/init.d/6distributed
|
|
||||||
endef
|
|
||||||
|
|
||||||
$(eval $(call BuildPackage,6distributed))
|
|
@ -1,18 +0,0 @@
|
|||||||
#!/bin/sh /etc/rc.common
|
|
||||||
|
|
||||||
START=15
|
|
||||||
|
|
||||||
SERVICE_DAEMONIZE=1
|
|
||||||
SERVICE_WRITE_PID=1
|
|
||||||
SERVICE_PID_FILE=/var/run/6distributed.pid
|
|
||||||
DISTRIBUTED_BIN=/usr/sbin/6distributed
|
|
||||||
|
|
||||||
start()
|
|
||||||
{
|
|
||||||
service_start $DISTRIBUTED_BIN
|
|
||||||
}
|
|
||||||
|
|
||||||
stop()
|
|
||||||
{
|
|
||||||
service_stop $DISTRIBUTED_BIN
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user