iproute: don't hardcode the path to config files

Allows using an alternate path for config files.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Signed-off-by: Christoph J. Thompson <cjsthompson@gmail.com>
Signed-off-by: Michael Bestas <mikeioannina@gmail.com>
This commit is contained in:
Christoph J. Thompson
2015-10-08 17:06:06 +02:00
committed by Denys Vlasenko
parent 413feca279
commit d1eea8db92
2 changed files with 14 additions and 5 deletions

View File

@@ -533,6 +533,13 @@ config FEATURE_IP_ROUTE
help
Add support for routing table management to "ip".
config FEATURE_IP_ROUTE_DIR
string "ip route configuration directory"
default "/etc/iproute2"
depends on FEATURE_IP_ROUTE
help
Location of the "ip" applet routing configuration.
config FEATURE_IP_TUNNEL
bool "ip tunnel"
default y