Added poweroff (and adjusted init to use it). Inlined function
[oweals/busybox.git] / busybox.def.h
1 /*
2  * This file is parsed by sed. You MUST use single line comments.
3  * IE   //#define BB_BLAH
4  */
5
6 #define BB_BUSYBOX
7 #define BB_CAT
8 #define BB_CHMOD_CHOWN_CHGRP
9 #define BB_CHROOT
10 #define BB_CLEAR
11 #define BB_CP
12 #define BB_DATE
13 #define BB_DD
14 #define BB_DF
15 #define BB_DMESG
16 //#define BB_DUTMP
17 #define BB_DU
18 //#define BB_FDFLUSH
19 #define BB_FIND
20 #define BB_FREE
21 #define BB_FSCK_MINIX
22 #define BB_MKFS_MINIX
23 #define BB_CHVT
24 #define BB_DEALLOCVT
25 #define BB_GREP
26 //#define BB_HALT
27 #define BB_HEAD
28 #define BB_HOSTNAME
29 #define BB_INIT
30 #define BB_KILL
31 #define BB_KLOGD
32 //#define BB_LENGTH
33 #define BB_LN
34 #define BB_LOADFONT
35 #define BB_LOADKMAP
36 #define BB_LOGGER
37 #define BB_LS
38 //#define BB_MAKEDEVS
39 //#define BB_MATH
40 #define BB_MKDIR
41 #define BB_MKNOD
42 #define BB_MKSWAP
43 //#define BB_MNC
44 #define BB_MORE
45 #define BB_MOUNT
46 #define BB_NFSMOUNT
47 //#define BB_MT
48 //#define BB_MTAB
49 #define BB_MV
50 #define BB_PING
51 #define BB_POWEROFF
52 //#define BB_PRINTF
53 #define BB_PS
54 #define BB_PWD
55 #define BB_REGEXP
56 #define BB_REBOOT
57 #define BB_RM
58 #define BB_RMDIR
59 //#define BB_SFDISK
60 #define BB_SED
61 #define BB_SLEEP
62 #define BB_SWAPONOFF
63 #define BB_SYNC
64 #define BB_SYSLOGD
65 #define BB_TAIL
66 #define BB_TAR
67 #define BB_TEE
68 #define BB_TOUCH
69 #define BB_TRUE_FALSE
70 #define BB_UMOUNT
71 #define BB_UPDATE
72 #define BB_UNAME
73 #define BB_GZIP
74 #define BB_GUNZIP
75 // Don't turn BB_UTILITY off.  It contains support code 
76 // that compiles to 0 if everything else if turned off.
77 #define BB_UTILITY
78 //
79 //
80 //
81 // This is where feature definitions go.  Generally speaking,
82 // turning this stuff off makes things a bit smaller (and less 
83 // pretty/useful).
84 //
85 //
86 // enable a second console on TTY2 in init
87 #define BB_FEATURE_INIT_SECOND_CONSOLE
88 // enable features that use the /proc filesystem
89 #define BB_FEATURE_USE_PROCFS
90 //Enable init being called as /linuxrc
91 #define BB_FEATURE_LINUXRC
92 // Use termios to manipulate the screen ('more' is prettier with this on)
93 #define BB_FEATURE_USE_TERMIOS
94 // calculate terminal & column widths
95 #define BB_FEATURE_AUTOWIDTH
96 // show username/groupnames (bypasses libc6 NSS)
97 #define BB_FEATURE_LS_USERNAME  
98 // show file timestamps
99 #define BB_FEATURE_LS_TIMESTAMPS
100 // enable ls -p and -F
101 #define BB_FEATURE_LS_FILETYPES