aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-12-01 16:56:12 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-12-01 16:56:12 +0000
commit732268fe69739411c8e1373e688381253a04efe6 (patch)
tree2c640689fdc2e57ad8ad9901f7470a4424e3a36c
parent4c87d4f242985f3ca6b2e6009ff724b0390fe583 (diff)
downloadbusybox-732268fe69739411c8e1373e688381253a04efe6.tar.gz
- provide central knob to turn off RPC related options.
-rw-r--r--Config.in8
-rw-r--r--networking/Config.in4
-rw-r--r--util-linux/Config.in1
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.