- 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 5e70a52..fb07c68 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 e9694af..e671107 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 a6640e1..848914d 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.