- provide central knob to turn off RPC related options.
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 1 Dec 2006 16:56:12 +0000 (16:56 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 1 Dec 2006 16:56:12 +0000 (16:56 -0000)
Config.in
networking/Config.in
util-linux/Config.in

index 5e70a523a98e7229c2f6dd809b1b6b3e34b84b74..fb07c681bb1630f08da8e24dfc2a9c72e68fcc8c 100644 (file)
--- 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
index e9694af67a7c1d4a8c518abeae879d7a2a77335f..e6711078c2812d1808982cc63ef0b42cc68e560c 100644 (file)
@@ -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"
index a6640e19d687ed50e62afe633e77c7f6f737f68e..848914d6f59104a7e66b2b0f34f86502dda3f6c8 100644 (file)
@@ -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.