debian compatable ifup and ifdown commands

This commit is contained in:
Glenn L McGrath
2002-11-09 09:34:15 +00:00
parent 7ab93d9980
commit 021fa7db91
5 changed files with 1478 additions and 0 deletions

View File

@@ -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

View File

@@ -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

File diff suppressed because it is too large Load Diff