From 83e7e13628686c3b11ef14dec94fae169ee08c43 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 28 Dec 2018 13:03:48 +0100 Subject: config: add size information for udhcpc Signed-off-by: Denys Vlasenko --- networking/udhcp/Config.src | 6 +++--- 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'" -- cgit v1.2.3