diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-12-28 13:03:48 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-12-28 13:03:48 +0100 |
commit | 83e7e13628686c3b11ef14dec94fae169ee08c43 (patch) | |
tree | 6d8c9da2879c16ce0a5cae8feabe73ee0942f7bf | |
parent | b097a84d62dcfcf201a695b54bcfafae70cac8a6 (diff) |
config: add size information for udhcpc
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | networking/udhcp/Config.src | 6 | ||||
-rwxr-xr-x | size_single_applets.sh | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/networking/udhcp/Config.src b/networking/udhcp/Config.src index e5958804b..e13a3ec82 100644 --- a/networking/udhcp/Config.src +++ b/networking/udhcp/Config.src @@ -4,7 +4,7 @@ # config UDHCPD - bool "udhcpd" + bool "udhcpd (21 kb)" default y select PLATFORM_LINUX help @@ -44,7 +44,7 @@ config DHCPD_LEASES_FILE of the file. Normally it is safe to leave it untouched. config DUMPLEASES - bool "dumpleases (6.4 kb)" + bool "dumpleases (5.1 kb)" default y help dumpleases displays the leases written out by the udhcpd. @@ -52,7 +52,7 @@ config DUMPLEASES by the absolute time that it expires in seconds from epoch. config DHCPRELAY - bool "dhcprelay (5.8 kb)" + bool "dhcprelay (5.2 kb)" default y help dhcprelay listens for DHCP requests on one or more interfaces diff --git a/size_single_applets.sh b/size_single_applets.sh index f7f327b43..6df5d7bee 100755 --- a/size_single_applets.sh +++ b/size_single_applets.sh @@ -57,8 +57,8 @@ grep ^IF_ include/applets.h \ test -f "$b" || continue file=`grep -lF "bool \"$name" $(find -name '*.c') | xargs` - # so far all such items are in .c files; if need to check Config.* files: - #test "$file" || file=`grep -lF "bool \"$name" $(find -name 'Config.*') | xargs` + # A few applets have their CONFIG items in Config.* files, not .c files: + test "$file" || file=`grep -lF "bool \"$name" $(find -name 'Config.*') | xargs` test "$file" || continue #echo "FILE:'$file'" |