From cf6e3ae1b3638ee530705efae53ff3f76976f466 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Fri, 20 May 2022 15:02:08 +0200 Subject: [PATCH] remove things committed to cm --- package/ddhcpd-nextnode/Makefile | 19 ----------------- package/ddhcpd-nextnode/check_site.lua | 1 - .../gluon/upgrade/500-ddhcpd-option-nextnode | 21 ------------------- 3 files changed, 41 deletions(-) delete mode 100644 package/ddhcpd-nextnode/Makefile delete mode 100644 package/ddhcpd-nextnode/check_site.lua delete mode 100755 package/ddhcpd-nextnode/luasrc/lib/gluon/upgrade/500-ddhcpd-option-nextnode diff --git a/package/ddhcpd-nextnode/Makefile b/package/ddhcpd-nextnode/Makefile deleted file mode 100644 index ecb5fe83..00000000 --- a/package/ddhcpd-nextnode/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -include $(TOPDIR)/rules.mk - -PKG_NAME:=ddhcpd-nextnode -PKG_RELEASE:=1 - -include ../gluon.mk - -define Package/ddhcpd-nextnode - SECTION:=net - CATEGORY:=Network - DEPENDS:=+ddhcpd - TITLE:=ddhcpd nextnode integration -endef - -define Package/ddhcpd-nextnode/description - nextnode integration for ddhcpd -endef - -$(eval $(call BuildPackage,ddhcpd-nextnode)) diff --git a/package/ddhcpd-nextnode/check_site.lua b/package/ddhcpd-nextnode/check_site.lua deleted file mode 100644 index b26ac216..00000000 --- a/package/ddhcpd-nextnode/check_site.lua +++ /dev/null @@ -1 +0,0 @@ -need_string_match(in_domain({'next_node', 'ip4'}), '^%d+.%d+.%d+.%d+$') diff --git a/package/ddhcpd-nextnode/luasrc/lib/gluon/upgrade/500-ddhcpd-option-nextnode b/package/ddhcpd-nextnode/luasrc/lib/gluon/upgrade/500-ddhcpd-option-nextnode deleted file mode 100755 index bea3d765..00000000 --- a/package/ddhcpd-nextnode/luasrc/lib/gluon/upgrade/500-ddhcpd-option-nextnode +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/lua - -local uci = require('simple-uci').cursor() -local site = require "gluon.site" - -local payload = site.next_node.ip4() -local len = 4 -- this has to be 4 - -uci:section('ddhcpd', 'dhcp_option', 'nextnode_router', { - len = len, - payload = payload, - code = '3', -}) - -uci:section('ddhcpd', 'dhcp_option', 'nextnode_dns', { - len = len, - payload = payload, - code = '6', -}) - -uci:save('ddhcpd')