From c3a028c76c294c0578b0449d75f9aeaad209c8d1 Mon Sep 17 00:00:00 2001 From: Manuel Munz Date: Wed, 28 Sep 2011 00:20:56 +0000 Subject: [PATCH] modules/freifunk: Move profiles and common files into seperate packages, this will enable us to build freifunk images without luci. --- contrib/package/community-profiles/Makefile | 39 +++++++++++++++++ .../files}/etc/config/profile_Freifunk | 0 .../files}/etc/config/profile_aachen | 0 .../files}/etc/config/profile_augsburg | 0 .../files}/etc/config/profile_bayreuth | 0 .../files}/etc/config/profile_bensheim | 0 .../files}/etc/config/profile_bergischesland | 0 .../files}/etc/config/profile_berlin | 0 .../files}/etc/config/profile_carbodebit | 0 .../files}/etc/config/profile_dresden | 0 .../files}/etc/config/profile_duesseldorf | 0 .../files}/etc/config/profile_evernet | 0 .../files}/etc/config/profile_gadow | 0 .../files}/etc/config/profile_guifibages | 0 .../files}/etc/config/profile_halle | 0 .../files}/etc/config/profile_hamburg | 0 .../files}/etc/config/profile_hannover | 0 .../files}/etc/config/profile_heppenheim | 0 .../files}/etc/config/profile_jena | 0 .../files}/etc/config/profile_kiberpipa | 0 .../files}/etc/config/profile_l59 | 0 .../files}/etc/config/profile_leipzig | 0 .../files}/etc/config/profile_mainz | 0 .../files}/etc/config/profile_marburg | 0 .../files}/etc/config/profile_neuss | 0 .../files}/etc/config/profile_oldenburg | 0 .../etc/config/profile_openwireless_bern | 0 .../files}/etc/config/profile_pberg | 0 .../files}/etc/config/profile_piraten_dresden | 0 .../files}/etc/config/profile_potsdam | 0 .../files}/etc/config/profile_rosbach | 0 .../files}/etc/config/profile_seefeld | 0 .../files}/etc/config/profile_wlanljubljana | 0 contrib/package/freifunk-common/Makefile | 43 +++++++++++++++++++ .../files}/etc/config/freifunk | 0 .../files}/etc/init.d/freifunk | 0 .../files}/etc/rc.local.d/01-config-migration | 0 .../freifunk-common/files/usr/bin/ffdzero | 10 +++++ .../freifunk-common/files/usr/bin/neigh.sh | 3 ++ .../files/usr/sbin/ff_olsr_watchdog | 29 +++++++++++++ .../freifunk-common/files/usr/sbin/ff_rdate | 20 +++++++++ contrib/package/freifunk-common/ipkg/postinst | 6 +++ contrib/package/luci/Makefile | 6 +-- .../freifunk/root/etc/uci-defaults/freifunk | 2 - 44 files changed, 151 insertions(+), 7 deletions(-) create mode 100644 contrib/package/community-profiles/Makefile rename {modules/freifunk/root => contrib/package/community-profiles/files}/etc/config/profile_Freifunk (100%) rename {modules/freifunk/root => contrib/package/community-profiles/files}/etc/config/profile_aachen (100%) rename {modules/freifunk/root => contrib/package/community-profiles/files}/etc/config/profile_augsburg (100%) rename {modules/freifunk/root => contrib/package/community-profiles/files}/etc/config/profile_bayreuth (100%) rename {modules/freifunk/root => contrib/package/community-profiles/files}/etc/config/profile_bensheim (100%) rename {modules/freifunk/root => contrib/package/community-profiles/files}/etc/config/profile_bergischesland (100%) rename {modules/freifunk/root => contrib/package/community-profiles/files}/etc/config/profile_berlin (100%) rename {modules/freifunk/root => contrib/package/community-profiles/files}/etc/config/profile_carbodebit (100%) rename {modules/freifunk/root => contrib/package/community-profiles/files}/etc/config/profile_dresden (100%) rename {modules/freifunk/root => contrib/package/community-profiles/files}/etc/config/profile_duesseldorf (100%) rename {modules/freifunk/root => contrib/package/community-profiles/files}/etc/config/profile_evernet (100%) rename {modules/freifunk/root => contrib/package/community-profiles/files}/etc/config/profile_gadow (100%) rename {modules/freifunk/root => contrib/package/community-profiles/files}/etc/config/profile_guifibages (100%) rename {modules/freifunk/root => contrib/package/community-profiles/files}/etc/config/profile_halle (100%) rename {modules/freifunk/root => contrib/package/community-profiles/files}/etc/config/profile_hamburg (100%) rename {modules/freifunk/root => contrib/package/community-profiles/files}/etc/config/profile_hannover (100%) rename {modules/freifunk/root => contrib/package/community-profiles/files}/etc/config/profile_heppenheim (100%) rename {modules/freifunk/root => contrib/package/community-profiles/files}/etc/config/profile_jena (100%) rename {modules/freifunk/root => contrib/package/community-profiles/files}/etc/config/profile_kiberpipa (100%) rename {modules/freifunk/root => contrib/package/community-profiles/files}/etc/config/profile_l59 (100%) rename {modules/freifunk/root => contrib/package/community-profiles/files}/etc/config/profile_leipzig (100%) rename {modules/freifunk/root => contrib/package/community-profiles/files}/etc/config/profile_mainz (100%) rename {modules/freifunk/root => contrib/package/community-profiles/files}/etc/config/profile_marburg (100%) rename {modules/freifunk/root => contrib/package/community-profiles/files}/etc/config/profile_neuss (100%) rename {modules/freifunk/root => contrib/package/community-profiles/files}/etc/config/profile_oldenburg (100%) rename {modules/freifunk/root => contrib/package/community-profiles/files}/etc/config/profile_openwireless_bern (100%) rename {modules/freifunk/root => contrib/package/community-profiles/files}/etc/config/profile_pberg (100%) rename {modules/freifunk/root => contrib/package/community-profiles/files}/etc/config/profile_piraten_dresden (100%) rename {modules/freifunk/root => contrib/package/community-profiles/files}/etc/config/profile_potsdam (100%) rename {modules/freifunk/root => contrib/package/community-profiles/files}/etc/config/profile_rosbach (100%) rename {modules/freifunk/root => contrib/package/community-profiles/files}/etc/config/profile_seefeld (100%) rename {modules/freifunk/root => contrib/package/community-profiles/files}/etc/config/profile_wlanljubljana (100%) create mode 100644 contrib/package/freifunk-common/Makefile rename {modules/freifunk/root => contrib/package/freifunk-common/files}/etc/config/freifunk (100%) rename {modules/freifunk/root => contrib/package/freifunk-common/files}/etc/init.d/freifunk (100%) rename {modules/freifunk/root => contrib/package/freifunk-common/files}/etc/rc.local.d/01-config-migration (100%) create mode 100755 contrib/package/freifunk-common/files/usr/bin/ffdzero create mode 100755 contrib/package/freifunk-common/files/usr/bin/neigh.sh create mode 100755 contrib/package/freifunk-common/files/usr/sbin/ff_olsr_watchdog create mode 100755 contrib/package/freifunk-common/files/usr/sbin/ff_rdate create mode 100755 contrib/package/freifunk-common/ipkg/postinst delete mode 100644 modules/freifunk/root/etc/uci-defaults/freifunk diff --git a/contrib/package/community-profiles/Makefile b/contrib/package/community-profiles/Makefile new file mode 100644 index 0000000000..439b6837b3 --- /dev/null +++ b/contrib/package/community-profiles/Makefile @@ -0,0 +1,39 @@ +# Copyright (C) 2011 Manuel Munz +# This is free software, licensed under the Apache 2.0 license. + +include $(TOPDIR)/rules.mk + +PKG_NAME:=community-profiles +PKG_RELEASE:=1 + +PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) + +include $(INCLUDE_DIR)/package.mk + +define Package/community-profiles + SECTION:=luci + CATEGORY:=LuCI + SUBMENU:=Freifunk + TITLE:=Community profiles + DEPENDS:=freifunk-common +endef + +define Package/community-profiles/description + These community profiles set defaults for various free network/freifunk communities and are used by wizards like ffwizard and meshwizard. +endef + +define Build/Prepare + mkdir -p $(PKG_BUILD_DIR) +endef + +define Build/Configure +endef + +define Build/Compile +endef + +define Package/community-profiles/install + $(CP) ./files/* $(1)/ +endef + +$(eval $(call BuildPackage,community-profiles)) diff --git a/modules/freifunk/root/etc/config/profile_Freifunk b/contrib/package/community-profiles/files/etc/config/profile_Freifunk similarity index 100% rename from modules/freifunk/root/etc/config/profile_Freifunk rename to contrib/package/community-profiles/files/etc/config/profile_Freifunk diff --git a/modules/freifunk/root/etc/config/profile_aachen b/contrib/package/community-profiles/files/etc/config/profile_aachen similarity index 100% rename from modules/freifunk/root/etc/config/profile_aachen rename to contrib/package/community-profiles/files/etc/config/profile_aachen diff --git a/modules/freifunk/root/etc/config/profile_augsburg b/contrib/package/community-profiles/files/etc/config/profile_augsburg similarity index 100% rename from modules/freifunk/root/etc/config/profile_augsburg rename to contrib/package/community-profiles/files/etc/config/profile_augsburg diff --git a/modules/freifunk/root/etc/config/profile_bayreuth b/contrib/package/community-profiles/files/etc/config/profile_bayreuth similarity index 100% rename from modules/freifunk/root/etc/config/profile_bayreuth rename to contrib/package/community-profiles/files/etc/config/profile_bayreuth diff --git a/modules/freifunk/root/etc/config/profile_bensheim b/contrib/package/community-profiles/files/etc/config/profile_bensheim similarity index 100% rename from modules/freifunk/root/etc/config/profile_bensheim rename to contrib/package/community-profiles/files/etc/config/profile_bensheim diff --git a/modules/freifunk/root/etc/config/profile_bergischesland b/contrib/package/community-profiles/files/etc/config/profile_bergischesland similarity index 100% rename from modules/freifunk/root/etc/config/profile_bergischesland rename to contrib/package/community-profiles/files/etc/config/profile_bergischesland diff --git a/modules/freifunk/root/etc/config/profile_berlin b/contrib/package/community-profiles/files/etc/config/profile_berlin similarity index 100% rename from modules/freifunk/root/etc/config/profile_berlin rename to contrib/package/community-profiles/files/etc/config/profile_berlin diff --git a/modules/freifunk/root/etc/config/profile_carbodebit b/contrib/package/community-profiles/files/etc/config/profile_carbodebit similarity index 100% rename from modules/freifunk/root/etc/config/profile_carbodebit rename to contrib/package/community-profiles/files/etc/config/profile_carbodebit diff --git a/modules/freifunk/root/etc/config/profile_dresden b/contrib/package/community-profiles/files/etc/config/profile_dresden similarity index 100% rename from modules/freifunk/root/etc/config/profile_dresden rename to contrib/package/community-profiles/files/etc/config/profile_dresden diff --git a/modules/freifunk/root/etc/config/profile_duesseldorf b/contrib/package/community-profiles/files/etc/config/profile_duesseldorf similarity index 100% rename from modules/freifunk/root/etc/config/profile_duesseldorf rename to contrib/package/community-profiles/files/etc/config/profile_duesseldorf diff --git a/modules/freifunk/root/etc/config/profile_evernet b/contrib/package/community-profiles/files/etc/config/profile_evernet similarity index 100% rename from modules/freifunk/root/etc/config/profile_evernet rename to contrib/package/community-profiles/files/etc/config/profile_evernet diff --git a/modules/freifunk/root/etc/config/profile_gadow b/contrib/package/community-profiles/files/etc/config/profile_gadow similarity index 100% rename from modules/freifunk/root/etc/config/profile_gadow rename to contrib/package/community-profiles/files/etc/config/profile_gadow diff --git a/modules/freifunk/root/etc/config/profile_guifibages b/contrib/package/community-profiles/files/etc/config/profile_guifibages similarity index 100% rename from modules/freifunk/root/etc/config/profile_guifibages rename to contrib/package/community-profiles/files/etc/config/profile_guifibages diff --git a/modules/freifunk/root/etc/config/profile_halle b/contrib/package/community-profiles/files/etc/config/profile_halle similarity index 100% rename from modules/freifunk/root/etc/config/profile_halle rename to contrib/package/community-profiles/files/etc/config/profile_halle diff --git a/modules/freifunk/root/etc/config/profile_hamburg b/contrib/package/community-profiles/files/etc/config/profile_hamburg similarity index 100% rename from modules/freifunk/root/etc/config/profile_hamburg rename to contrib/package/community-profiles/files/etc/config/profile_hamburg diff --git a/modules/freifunk/root/etc/config/profile_hannover b/contrib/package/community-profiles/files/etc/config/profile_hannover similarity index 100% rename from modules/freifunk/root/etc/config/profile_hannover rename to contrib/package/community-profiles/files/etc/config/profile_hannover diff --git a/modules/freifunk/root/etc/config/profile_heppenheim b/contrib/package/community-profiles/files/etc/config/profile_heppenheim similarity index 100% rename from modules/freifunk/root/etc/config/profile_heppenheim rename to contrib/package/community-profiles/files/etc/config/profile_heppenheim diff --git a/modules/freifunk/root/etc/config/profile_jena b/contrib/package/community-profiles/files/etc/config/profile_jena similarity index 100% rename from modules/freifunk/root/etc/config/profile_jena rename to contrib/package/community-profiles/files/etc/config/profile_jena diff --git a/modules/freifunk/root/etc/config/profile_kiberpipa b/contrib/package/community-profiles/files/etc/config/profile_kiberpipa similarity index 100% rename from modules/freifunk/root/etc/config/profile_kiberpipa rename to contrib/package/community-profiles/files/etc/config/profile_kiberpipa diff --git a/modules/freifunk/root/etc/config/profile_l59 b/contrib/package/community-profiles/files/etc/config/profile_l59 similarity index 100% rename from modules/freifunk/root/etc/config/profile_l59 rename to contrib/package/community-profiles/files/etc/config/profile_l59 diff --git a/modules/freifunk/root/etc/config/profile_leipzig b/contrib/package/community-profiles/files/etc/config/profile_leipzig similarity index 100% rename from modules/freifunk/root/etc/config/profile_leipzig rename to contrib/package/community-profiles/files/etc/config/profile_leipzig diff --git a/modules/freifunk/root/etc/config/profile_mainz b/contrib/package/community-profiles/files/etc/config/profile_mainz similarity index 100% rename from modules/freifunk/root/etc/config/profile_mainz rename to contrib/package/community-profiles/files/etc/config/profile_mainz diff --git a/modules/freifunk/root/etc/config/profile_marburg b/contrib/package/community-profiles/files/etc/config/profile_marburg similarity index 100% rename from modules/freifunk/root/etc/config/profile_marburg rename to contrib/package/community-profiles/files/etc/config/profile_marburg diff --git a/modules/freifunk/root/etc/config/profile_neuss b/contrib/package/community-profiles/files/etc/config/profile_neuss similarity index 100% rename from modules/freifunk/root/etc/config/profile_neuss rename to contrib/package/community-profiles/files/etc/config/profile_neuss diff --git a/modules/freifunk/root/etc/config/profile_oldenburg b/contrib/package/community-profiles/files/etc/config/profile_oldenburg similarity index 100% rename from modules/freifunk/root/etc/config/profile_oldenburg rename to contrib/package/community-profiles/files/etc/config/profile_oldenburg diff --git a/modules/freifunk/root/etc/config/profile_openwireless_bern b/contrib/package/community-profiles/files/etc/config/profile_openwireless_bern similarity index 100% rename from modules/freifunk/root/etc/config/profile_openwireless_bern rename to contrib/package/community-profiles/files/etc/config/profile_openwireless_bern diff --git a/modules/freifunk/root/etc/config/profile_pberg b/contrib/package/community-profiles/files/etc/config/profile_pberg similarity index 100% rename from modules/freifunk/root/etc/config/profile_pberg rename to contrib/package/community-profiles/files/etc/config/profile_pberg diff --git a/modules/freifunk/root/etc/config/profile_piraten_dresden b/contrib/package/community-profiles/files/etc/config/profile_piraten_dresden similarity index 100% rename from modules/freifunk/root/etc/config/profile_piraten_dresden rename to contrib/package/community-profiles/files/etc/config/profile_piraten_dresden diff --git a/modules/freifunk/root/etc/config/profile_potsdam b/contrib/package/community-profiles/files/etc/config/profile_potsdam similarity index 100% rename from modules/freifunk/root/etc/config/profile_potsdam rename to contrib/package/community-profiles/files/etc/config/profile_potsdam diff --git a/modules/freifunk/root/etc/config/profile_rosbach b/contrib/package/community-profiles/files/etc/config/profile_rosbach similarity index 100% rename from modules/freifunk/root/etc/config/profile_rosbach rename to contrib/package/community-profiles/files/etc/config/profile_rosbach diff --git a/modules/freifunk/root/etc/config/profile_seefeld b/contrib/package/community-profiles/files/etc/config/profile_seefeld similarity index 100% rename from modules/freifunk/root/etc/config/profile_seefeld rename to contrib/package/community-profiles/files/etc/config/profile_seefeld diff --git a/modules/freifunk/root/etc/config/profile_wlanljubljana b/contrib/package/community-profiles/files/etc/config/profile_wlanljubljana similarity index 100% rename from modules/freifunk/root/etc/config/profile_wlanljubljana rename to contrib/package/community-profiles/files/etc/config/profile_wlanljubljana diff --git a/contrib/package/freifunk-common/Makefile b/contrib/package/freifunk-common/Makefile new file mode 100644 index 0000000000..9c05ed4101 --- /dev/null +++ b/contrib/package/freifunk-common/Makefile @@ -0,0 +1,43 @@ +# Copyright (C) 2011 Manuel Munz +# This is free software, licensed under the Apache 2.0 license. + +include $(TOPDIR)/rules.mk + +PKG_NAME:=freifunk-common +PKG_RELEASE:=1 + +PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) + +include $(INCLUDE_DIR)/package.mk + +define Package/freifunk-common + SECTION:=luci + CATEGORY:=LuCI + SUBMENU:=Freifunk + TITLE:=Freifunk common files + DEPENDS:=freifunk-common +endef + +define Package/freifunk-common/description + Common files and scripts that are needed to run free wireless mesh networks. +endef + +define Package/luci-mod-freifunk/conffiles +/etc/config/freifunk +endef + +define Build/Prepare + mkdir -p $(PKG_BUILD_DIR) +endef + +define Build/Configure +endef + +define Build/Compile +endef + +define Package/freifunk-common/install + $(CP) ./files/* $(1)/ +endef + +$(eval $(call BuildPackage,freifunk-common)) diff --git a/modules/freifunk/root/etc/config/freifunk b/contrib/package/freifunk-common/files/etc/config/freifunk similarity index 100% rename from modules/freifunk/root/etc/config/freifunk rename to contrib/package/freifunk-common/files/etc/config/freifunk diff --git a/modules/freifunk/root/etc/init.d/freifunk b/contrib/package/freifunk-common/files/etc/init.d/freifunk similarity index 100% rename from modules/freifunk/root/etc/init.d/freifunk rename to contrib/package/freifunk-common/files/etc/init.d/freifunk diff --git a/modules/freifunk/root/etc/rc.local.d/01-config-migration b/contrib/package/freifunk-common/files/etc/rc.local.d/01-config-migration similarity index 100% rename from modules/freifunk/root/etc/rc.local.d/01-config-migration rename to contrib/package/freifunk-common/files/etc/rc.local.d/01-config-migration diff --git a/contrib/package/freifunk-common/files/usr/bin/ffdzero b/contrib/package/freifunk-common/files/usr/bin/ffdzero new file mode 100755 index 0000000000..24e8c2e181 --- /dev/null +++ b/contrib/package/freifunk-common/files/usr/bin/ffdzero @@ -0,0 +1,10 @@ +#!/bin/sh + +test "$1" = "-h" && echo -e "Usage:\n\t$0 -h\n\t$0 [ { ip | hostname } ]" >&2 && exit 1 + +host="${1:-leipzig.freifunk.net}" + +wget -O /dev/null http://$host/cgi-bin-dev-zero.bin +test "$?" = "1" && wget -O /dev/null http://$host/cgi-bin/dev-zero.bin +test "$?" = "1" && wget -O /dev/null http://$host/cgi-bin/luci/freifunk/status/zeroes +test "$?" = "1" && echo "$host: no zero download found..." && exit 1 diff --git a/contrib/package/freifunk-common/files/usr/bin/neigh.sh b/contrib/package/freifunk-common/files/usr/bin/neigh.sh new file mode 100755 index 0000000000..723b813b76 --- /dev/null +++ b/contrib/package/freifunk-common/files/usr/bin/neigh.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +wget -q -O - http://localhost:2006/neighbours|sed -e's/LinkQuality/LQ/;s/Hysteresis/Hyst./;s/Willingness/Will./' diff --git a/contrib/package/freifunk-common/files/usr/sbin/ff_olsr_watchdog b/contrib/package/freifunk-common/files/usr/sbin/ff_olsr_watchdog new file mode 100755 index 0000000000..aa8de61622 --- /dev/null +++ b/contrib/package/freifunk-common/files/usr/sbin/ff_olsr_watchdog @@ -0,0 +1,29 @@ +#!/usr/bin/lua + +require "os" +require "io" +require "uci" +local fs = require "nixio.fs" + +if fs.access("/var/run/olsrd.pid") then + local stamp, intv + local x = uci.cursor() + + x:foreach("olsrd", "LoadPlugin", + function(s) + if s.library == "olsrd_watchdog.so.0.1" then + intv = tonumber(s.interval) + stamp = s.file + end + end) + + if intv and fs.access(stamp) then + local systime = os.time() + local wdgtime = tonumber(io.lines(stamp)()) + + if not wdgtime or ( systime - wdgtime ) > ( intv * 2 ) then + os.execute("logger -t 'OLSR watchdog' 'Process died - restarting!'") + os.execute("/etc/init.d/olsrd restart") + end + end +end diff --git a/contrib/package/freifunk-common/files/usr/sbin/ff_rdate b/contrib/package/freifunk-common/files/usr/sbin/ff_rdate new file mode 100755 index 0000000000..dc2c7b2d2c --- /dev/null +++ b/contrib/package/freifunk-common/files/usr/sbin/ff_rdate @@ -0,0 +1,20 @@ +#!/bin/sh + +uci_get_one() { + for var in "$@"; do + uci -P /var/state get "$var" 2>/dev/null && break + done +} + +local servers="$(uci_get_one 'network.wan.lease_timesrv') $(uci show timeserver | sed -ne 's/.*hostname=//p')" + +if [ -n "$servers" ]; then + for server in $servers; do + rdate -s $server >/dev/null 2>/dev/null && \ + logger -t rdate "Synced with $server" && break + + logger -t rdate "Failed to sync with $server" + done +else + logger -t rdate "No usable time server found" +fi diff --git a/contrib/package/freifunk-common/ipkg/postinst b/contrib/package/freifunk-common/ipkg/postinst new file mode 100755 index 0000000000..52bedb2d4a --- /dev/null +++ b/contrib/package/freifunk-common/ipkg/postinst @@ -0,0 +1,6 @@ +#!/bin/sh + +[ -n "${IPKG_INSTROOT}" ] || { + /etc/init.d/freifunk enabled || /etc/init.d/freifunk enable + exit 0 +} diff --git a/contrib/package/luci/Makefile b/contrib/package/luci/Makefile index 5595db8f90..8226124ac8 100644 --- a/contrib/package/luci/Makefile +++ b/contrib/package/luci/Makefile @@ -246,15 +246,11 @@ define Package/luci-mod-admin-core/extra-install touch $(1)/etc/init.d/luci_fixtime || true endef -define Package/luci-mod-freifunk/conffiles -/etc/config/freifunk -endef - $(eval $(call module,admin-core,Web UI Core module,+luci-lib-web +luci-i18n-english)) $(eval $(call module,admin-mini,LuCI Essentials - stripped down and user-friendly,+luci-mod-admin-core @BROKEN)) $(eval $(call module,admin-full,LuCI Administration - full-featured for full control,+luci-mod-admin-core +luci-lib-ipkg)) $(eval $(call module,rpc,LuCI RPC - JSON-RPC API,+luci-lib-json)) -$(eval $(call module,freifunk,LuCI Freifunk module,+luci-mod-admin-full +luci-lib-json +PACKAGE_luci-mod-freifunk:freifunk-firewall)) +$(eval $(call module,freifunk,LuCI Freifunk module,+luci-mod-admin-full +luci-lib-json +PACKAGE_luci-mod-freifunk:freifunk-firewall +freifunk-common +community-profiles)) $(eval $(call module,niu,NIU - Next Generation Interface,+luci-mod-admin-core @BROKEN)) diff --git a/modules/freifunk/root/etc/uci-defaults/freifunk b/modules/freifunk/root/etc/uci-defaults/freifunk deleted file mode 100644 index fe6586c224..0000000000 --- a/modules/freifunk/root/etc/uci-defaults/freifunk +++ /dev/null @@ -1,2 +0,0 @@ -uci set uhttpd.main.rfc1918_filter=0 -uci commit uhttpd -- 2.30.2