new config display applet, from bug 46. i've changed the name
of the applet from "config" to "bbconfig", and renamed the source filenames and symbols to match appropriately.
This commit is contained in:
@@ -34,6 +34,13 @@ config CONFIG_FEATURE_CROND_CALL_SENDMAIL
|
||||
help
|
||||
Support calling /usr/sbin/sendmail for send cmd outputs.
|
||||
|
||||
config CONFIG_BBCONFIG
|
||||
bool "bbconfig"
|
||||
default n
|
||||
help
|
||||
The bbconfig applet will print the config file with which
|
||||
busybox was built.
|
||||
|
||||
config CONFIG_CRONTAB
|
||||
bool "crontab"
|
||||
default n
|
||||
|
@@ -27,6 +27,7 @@ MISCUTILS-y:=
|
||||
MISCUTILS-$(CONFIG_ADJTIMEX) += adjtimex.o
|
||||
MISCUTILS-$(CONFIG_CROND) += crond.o
|
||||
MISCUTILS-$(CONFIG_CRONTAB) += crontab.o
|
||||
MISCUTILS-$(CONFIG_BBCONFIG) += bbconfig.o
|
||||
MISCUTILS-$(CONFIG_DC) += dc.o
|
||||
MISCUTILS-$(CONFIG_DEVFSD) += devfsd.o
|
||||
MISCUTILS-$(CONFIG_EJECT) += eject.o
|
||||
|
8
miscutils/bbconfig.c
Normal file
8
miscutils/bbconfig.c
Normal file
@@ -0,0 +1,8 @@
|
||||
#include "busybox.h"
|
||||
#include "bbconfigopts.h"
|
||||
|
||||
int bbconfig_main(int argc, char **argv)
|
||||
{
|
||||
printf(bbconfig_config);
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user