From 732268fe69739411c8e1373e688381253a04efe6 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Fri, 1 Dec 2006 16:56:12 +0000 Subject: [PATCH] - provide central knob to turn off RPC related options. --- Config.in | 8 ++++++++ networking/Config.in | 4 ++-- util-linux/Config.in | 1 + 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/Config.in b/Config.in index 5e70a523a..fb07c681b 100644 --- a/Config.in +++ b/Config.in @@ -203,6 +203,14 @@ config FEATURE_SUID_CONFIG_QUIET /etc/busybox.conf should be readable by the user needing the SUID, check this option to avoid users to be notified about missing permissions. +config FEATURE_HAVE_RPC + bool "RPC support" + default y + help + Select this if you have rpc support. + This automatically turns off all configuration options that rely + on RPC. + config SELINUX bool "Support NSA Security Enhanced Linux" default n diff --git a/networking/Config.in b/networking/Config.in index e9694af67..e6711078c 100644 --- a/networking/Config.in +++ b/networking/Config.in @@ -324,9 +324,9 @@ config FEATURE_INETD_RPC bool "Support RPC services" default n depends on INETD + depends on FEATURE_HAVE_RPC help - Suuport Sun-RPC based services - + Support Sun-RPC based services config IP bool "ip" diff --git a/util-linux/Config.in b/util-linux/Config.in index a6640e19d..848914d6f 100644 --- a/util-linux/Config.in +++ b/util-linux/Config.in @@ -369,6 +369,7 @@ config FEATURE_MOUNT_NFS bool "Support mounting NFS file systems" default n depends on MOUNT + depends on FEATURE_HAVE_RPC select FEATURE_SYSLOG help Enable mounting of NFS file systems.