summaryrefslogtreecommitdiff
path: root/package/base-files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-10-21 01:47:49 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-10-21 01:47:49 +0000
commit55aeabae10d9429de0453d6df4271426478b406b (patch)
treecb77e67888dff2800c29051dfe2673e40c56d2eb /package/base-files
parent2ccd191b76f600d99d4b8ee15bb8fd1d0f2cf616 (diff)
downloadmtk-20170518-55aeabae10d9429de0453d6df4271426478b406b.zip
mtk-20170518-55aeabae10d9429de0453d6df4271426478b406b.tar.gz
mtk-20170518-55aeabae10d9429de0453d6df4271426478b406b.tar.bz2
add an initial (experimental) version of netifd, disabled by default
SVN-Revision: 28499
Diffstat (limited to 'package/base-files')
-rw-r--r--package/base-files/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index 0f823be..b19f694 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -34,7 +34,7 @@ endif
define Package/base-files
SECTION:=base
CATEGORY:=Base system
- DEPENDS:=+base-files-network
+ DEPENDS:=+!USE_NETIFD:base-files-network +USE_NETIFD:netifd
TITLE:=Base filesystem for OpenWrt
URL:=http://openwrt.org/
VERSION:=$(PKG_RELEASE)-$(REVISION)
@@ -66,6 +66,11 @@ define Package/base-files/description
This package contains a base filesystem and system scripts for OpenWrt.
endef
+define Package/base-files/config
+ config USE_NETIFD
+ bool "Use netifd instead of the old network init scripts (experimental!)"
+ default n
+endef
define Package/gcc/Default
SECTION:=libs