aboutsummaryrefslogtreecommitdiff
path: root/busybox.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'busybox.def.h')
-rw-r--r--busybox.def.h74
1 files changed, 50 insertions, 24 deletions
diff --git a/busybox.def.h b/busybox.def.h
index 0caa57380..d78a0efe8 100644
--- a/busybox.def.h
+++ b/busybox.def.h
@@ -22,13 +22,14 @@
22#define BB_DMESG 22#define BB_DMESG
23//#define BB_DUTMP 23//#define BB_DUTMP
24#define BB_DU 24#define BB_DU
25#define BB_FBSET 25#define BB_ECHO
26//#define BB_FBSET
26//#define BB_FDFLUSH 27//#define BB_FDFLUSH
27#define BB_FIND 28#define BB_FIND
28#define BB_FREE 29#define BB_FREE
29#define BB_FREERAMDISK 30//#define BB_FREERAMDISK
30#define BB_FSCK_MINIX 31//#define BB_FSCK_MINIX
31#define BB_GREP 32//#define BB_GREP
32#define BB_GUNZIP 33#define BB_GUNZIP
33#define BB_GZIP 34#define BB_GZIP
34//#define BB_HALT 35//#define BB_HALT
@@ -36,12 +37,9 @@
36//#define BB_HOSTID 37//#define BB_HOSTID
37#define BB_HOSTNAME 38#define BB_HOSTNAME
38#define BB_INIT 39#define BB_INIT
39// Don't turn BB_INSMOD on. It doesn't work. 40// Don't bother turning BB_INSMOD on. It doesn't work.
40//#define BB_INSMOD 41//#define BB_INSMOD
41#define BB_KILL 42#define BB_KILL
42#ifdef BB_KILL
43#define BB_KILLALL
44#endif
45#define BB_KLOGD 43#define BB_KLOGD
46//#define BB_LENGTH 44//#define BB_LENGTH
47#define BB_LN 45#define BB_LN
@@ -53,7 +51,7 @@
53#define BB_LS 51#define BB_LS
54//#define BB_LSMOD 52//#define BB_LSMOD
55//#define BB_MAKEDEVS 53//#define BB_MAKEDEVS
56#define BB_MKFS_MINIX 54//#define BB_MKFS_MINIX
57//#define BB_MATH 55//#define BB_MATH
58#define BB_MKDIR 56#define BB_MKDIR
59//#define BB_MKFIFO 57//#define BB_MKFIFO
@@ -62,7 +60,7 @@
62//#define BB_MNC 60//#define BB_MNC
63#define BB_MORE 61#define BB_MORE
64#define BB_MOUNT 62#define BB_MOUNT
65#define BB_NFSMOUNT 63//#define BB_NFSMOUNT
66//#define BB_MT 64//#define BB_MT
67#define BB_NSLOOKUP 65#define BB_NSLOOKUP
68#define BB_PING 66#define BB_PING
@@ -71,7 +69,6 @@
71#define BB_PS 69#define BB_PS
72#define BB_PWD 70#define BB_PWD
73#define BB_REBOOT 71#define BB_REBOOT
74#define BB_REGEXP
75#define BB_RM 72#define BB_RM
76#define BB_RMDIR 73#define BB_RMDIR
77//#define BB_RMMOD 74//#define BB_RMMOD
@@ -86,6 +83,7 @@
86#define BB_TAIL 83#define BB_TAIL
87#define BB_TAR 84#define BB_TAR
88#define BB_TEE 85#define BB_TEE
86#define BB_TEST
89// Don't turn BB_TELNET on. It doesn't work. 87// Don't turn BB_TELNET on. It doesn't work.
90#define BB_TELNET 88#define BB_TELNET
91#define BB_TOUCH 89#define BB_TOUCH
@@ -104,7 +102,7 @@
104// 102//
105// 103//
106// 104//
107// 105// ---------------------------------------------------------
108// This is where feature definitions go. Generally speaking, 106// This is where feature definitions go. Generally speaking,
109// turning this stuff off makes things a bit smaller (and less 107// turning this stuff off makes things a bit smaller (and less
110// pretty/useful). 108// pretty/useful).
@@ -117,10 +115,10 @@
117// You can't use this and USE_PROCFS at the same time... 115// You can't use this and USE_PROCFS at the same time...
118//#define BB_FEATURE_USE_DEVPS_PATCH 116//#define BB_FEATURE_USE_DEVPS_PATCH
119// 117//
120//
121// enable features that use the /proc filesystem (apps that 118// enable features that use the /proc filesystem (apps that
122// break without this will tell you on compile)... 119// break without this will tell you on compile)...
123// You can't use this and DEVPS_N_DEVMTAB at the same time... 120// You can't use this and BB_FEATURE_USE_DEVPS_PATCH
121// at the same time...
124#define BB_FEATURE_USE_PROCFS 122#define BB_FEATURE_USE_PROCFS
125// 123//
126// Use termios to manipulate the screen ('more' is prettier with this on) 124// Use termios to manipulate the screen ('more' is prettier with this on)
@@ -130,24 +128,23 @@
130#define BB_FEATURE_AUTOWIDTH 128#define BB_FEATURE_AUTOWIDTH
131// 129//
132// show username/groupnames (bypasses libc6 NSS) for ls 130// show username/groupnames (bypasses libc6 NSS) for ls
133#define BB_FEATURE_LS_USERNAME 131#define BB_FEATURE_LS_USERNAME
134// 132//
135// show file timestamps in ls 133// show file timestamps in ls
136#define BB_FEATURE_LS_TIMESTAMPS 134#define BB_FEATURE_LS_TIMESTAMPS
137// 135//
138// enable ls -p and -F 136// enable ls -p and -F
139#define BB_FEATURE_LS_FILETYPES 137#define BB_FEATURE_LS_FILETYPES
140// 138//
141// Change ping implementation -- simplified, featureless, but really small. 139// Change ping implementation -- simplified, featureless, but really small.
142//#define BB_SIMPLE_PING 140//#define BB_SIMPLE_PING
143//// 141//
144// Make init use a simplified /etc/inittab file (recommended). 142// Make init use a simplified /etc/inittab file (recommended).
145#define BB_FEATURE_USE_INITTAB 143#define BB_FEATURE_USE_INITTAB
146// 144//
147//Enable init being called as /linuxrc 145//Enable init being called as /linuxrc
148//#define BB_FEATURE_LINUXRC 146//#define BB_FEATURE_LINUXRC
149// 147//
150//
151//Simple tail implementation (2k vs 6k for the full one). Still 148//Simple tail implementation (2k vs 6k for the full one). Still
152//provides 'tail -f' support -- but for only one file at a time. 149//provides 'tail -f' support -- but for only one file at a time.
153#define BB_FEATURE_SIMPLE_TAIL 150#define BB_FEATURE_SIMPLE_TAIL
@@ -156,9 +153,7 @@
156#define BB_FEATURE_MOUNT_LOOP 153#define BB_FEATURE_MOUNT_LOOP
157// 154//
158// Enable support for a real /etc/mtab file instead of /proc/mounts 155// Enable support for a real /etc/mtab file instead of /proc/mounts
159#ifdef BB_MOUNT 156//#define BB_FEATURE_MOUNT_MTAB_SUPPORT
160//#define BB_MTAB
161#endif
162// 157//
163// 158//
164// Enable support for remounting filesystems 159// Enable support for remounting filesystems
@@ -173,10 +168,41 @@
173// Allow init to permenently chroot, and umount the old root fs 168// Allow init to permenently chroot, and umount the old root fs
174// just like an initrd does. Requires a kernel patch by Werner Almesberger. 169// just like an initrd does. Requires a kernel patch by Werner Almesberger.
175// ftp://icaftp.epfl.ch/pub/people/almesber/misc/umount-root-*.tar.gz 170// ftp://icaftp.epfl.ch/pub/people/almesber/misc/umount-root-*.tar.gz
176#ifdef BB_MOUNT
177//#define BB_FEATURE_INIT_CHROOT 171//#define BB_FEATURE_INIT_CHROOT
178#endif
179// 172//
180//Make sure nothing is printed to the console on boot 173//Make sure nothing is printed to the console on boot
181#define BB_FEATURE_EXTRA_QUIET 174#define BB_FEATURE_EXTRA_QUIET
182 175//
176// Enable full regular expressions. This adds about
177// 4k. When this is off, things that would normally
178// use regualr expressions (like grep) will just use
179// normal strings.
180#define BB_FEATURE_FULL_REGULAR_EXPRESSIONS
181//
182//
183// Enable command line editing in the shell
184#define BB_FEATURE_SH_COMMAND_EDITING
185//
186//
187// End of Features List
188//
189//
190//
191//
192//
193//
194//---------------------------------------------------
195// Nothing beyond this point should ever be touched by
196// mere mortals so leave this stuff alone.
197#ifdef BB_FEATURE_MOUNT_MTAB_SUPPORT
198#define BB_MTAB
199#endif
200//
201#ifdef BB_FEATURE_FULL_REGULAR_EXPRESSIONS
202#define BB_REGEXP
203#endif
204//
205#ifdef BB_FEATURE_SH_COMMAND_EDITING
206#define BB_CMDEDIT
207#endif
208//