From 30704ec20b4c2fab8201a198bd9c50226e397130 Mon Sep 17 00:00:00 2001 From: Yegor Yefremov Date: Fri, 13 Jun 2014 10:31:30 +0200 Subject: [PATCH] network-manager: add terminal based UI support NM provides a newt based UI. One can create, modify and delete NM connections via this interface. Signed-off-by: Yegor Yefremov Signed-off-by: Peter Korsgaard --- package/network-manager/Config.in | 6 ++++++ package/network-manager/network-manager.mk | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/package/network-manager/Config.in b/package/network-manager/Config.in index 4503f3aa52..b7f223ebfd 100644 --- a/package/network-manager/Config.in +++ b/package/network-manager/Config.in @@ -30,6 +30,12 @@ config BR2_PACKAGE_NETWORK_MANAGER if BR2_PACKAGE_NETWORK_MANAGER +config BR2_PACKAGE_NETWORK_MANAGER_TUI + bool "nmtui support" + select BR2_PACKAGE_NEWT + help + This option enables terminal based UI + config BR2_PACKAGE_NETWORK_MANAGER_MODEM_MANAGER bool "modem-manager support" select BR2_PACKAGE_MODEM_MANAGER diff --git a/package/network-manager/network-manager.mk b/package/network-manager/network-manager.mk index 47c91d58ee..282e1e5e35 100644 --- a/package/network-manager/network-manager.mk +++ b/package/network-manager/network-manager.mk @@ -34,6 +34,13 @@ NETWORK_MANAGER_CONF_OPT = \ --disable-ifupdown \ --disable-ifnet +ifeq ($(BR2_PACKAGE_NETWORK_MANAGER_TUI),y) + NETWORK_MANAGER_DEPENDENCIES += newt + NETWORK_MANAGER_CONF_OPT += --with-nmtui=yes +else + NETWORK_MANAGER_CONF_OPT += --with-nmtui=no +endif + ifeq ($(BR2_PACKAGE_NETWORK_MANAGER_PPPD),y) NETWORK_MANAGER_DEPENDENCIES += pppd NETWORK_MANAGER_CONF_OPT += --enable-ppp -- 2.30.2