debian compatable ifup and ifdown commands
This commit is contained in:
@@ -25,6 +25,7 @@ endif
|
||||
NETWORKING-y:=
|
||||
NETWORKING-$(CONFIG_HOSTNAME) += hostname.o
|
||||
NETWORKING-$(CONFIG_IFCONFIG) += ifconfig.o
|
||||
NETWORKING-$(CONFIG_IFUPDOWN) += ifupdown.o
|
||||
NETWORKING-$(CONFIG_NC) += nc.o
|
||||
NETWORKING-$(CONFIG_NETSTAT) += netstat.o
|
||||
NETWORKING-$(CONFIG_NSLOOKUP) += nslookup.o
|
||||
|
||||
@@ -16,6 +16,12 @@ if [ "$CONFIG_IFCONFIG" = "y" ]; then
|
||||
bool ' Enable option "hw" (ether only)' CONFIG_FEATURE_IFCONFIG_HW
|
||||
bool ' Set the broadcast automatically' CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS
|
||||
fi
|
||||
bool 'ifupdown' CONFIG_IFUPDOWN
|
||||
if [ "$CONFIG_IFUPDOWN" = "y" ]; then
|
||||
bool ' Enable support for IPv4' CONFIG_FEATURE_IFUPDOWN_IPV4
|
||||
bool ' Enable support for IPv6 (requires ip command)' CONFIG_FEATURE_IFUPDOWN_IPV6
|
||||
bool ' Enable support for IPX (requires ipx_interface command)' CONFIG_FEATURE_IFUPDOWN_IPX
|
||||
fi
|
||||
bool 'nc' CONFIG_NC
|
||||
bool 'netstat' CONFIG_NETSTAT
|
||||
bool 'nslookup' CONFIG_NSLOOKUP
|
||||
|
||||
1437
networking/ifupdown.c
Normal file
1437
networking/ifupdown.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user