diff options
author | John Beppu | 1999-12-09 18:29:29 +0000 |
---|---|---|
committer | John Beppu | 1999-12-09 18:29:29 +0000 |
commit | 7a98606d859ce45bb462f6dba53213ce6fc9c49a (patch) | |
tree | 0986b5702bdc0f7d3dba4a6c7f65119b3967addd | |
parent | 0f5e1ab949193ee7b6228bc66730da9d573464eb (diff) | |
download | busybox-7a98606d859ce45bb462f6dba53213ce6fc9c49a.zip busybox-7a98606d859ce45bb462f6dba53213ce6fc9c49a.tar.gz |
Modified to include du
-rw-r--r-- | applets/busybox.c | 3 | ||||
-rw-r--r-- | busybox.c | 3 | ||||
-rw-r--r-- | busybox.def.h | 1 | ||||
-rw-r--r-- | internal.h | 1 |
4 files changed, 8 insertions, 0 deletions
diff --git a/applets/busybox.c b/applets/busybox.c index 67a606c..c050acc 100644 --- a/applets/busybox.c +++ b/applets/busybox.c @@ -45,6 +45,9 @@ static const struct Applet applets[] = { #ifdef BB_DMESG //bin {"dmesg", dmesg_main}, #endif +#ifdef BB_DU //bin + {"du", du_main}, +#endif #ifdef BB_DUTMP //usr/sbin {"dutmp", dutmp_main}, #endif @@ -45,6 +45,9 @@ static const struct Applet applets[] = { #ifdef BB_DMESG //bin {"dmesg", dmesg_main}, #endif +#ifdef BB_DU //bin + {"du", du_main}, +#endif #ifdef BB_DUTMP //usr/sbin {"dutmp", dutmp_main}, #endif diff --git a/busybox.def.h b/busybox.def.h index 786f981..efab494 100644 --- a/busybox.def.h +++ b/busybox.def.h @@ -14,6 +14,7 @@ #define BB_DF #define BB_DMESG //#define BB_DUTMP +#define BB_DU //#define BB_FDFLUSH #define BB_FIND #define BB_FREE @@ -63,6 +63,7 @@ extern int date_main(int argc, char** argv); extern int dd_main(int argc, char** argv); extern int df_main(int argc, char** argv); extern int dmesg_main(int argc, char** argv); +extern int du_main(int argc, char** argv); extern int dutmp_main(int argc, char** argv); extern int false_main(int argc, char** argv); extern int fdisk_main(int argc, char** argv); |