diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-01-29 14:57:33 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-01-29 14:57:33 +0100 |
commit | 205d48e9480e3a60f2bf1094f67d837f1b44aea5 (patch) | |
tree | d395165adcaa9f2cb03372f126a38111c931dcbe /init | |
parent | b4b12bf2344148976d1cd0f17bca0c0fbf7a364c (diff) | |
download | busybox-w32-205d48e9480e3a60f2bf1094f67d837f1b44aea5.tar.gz busybox-w32-205d48e9480e3a60f2bf1094f67d837f1b44aea5.tar.bz2 busybox-w32-205d48e9480e3a60f2bf1094f67d837f1b44aea5.zip |
*: add comment about APPLET_ODDNAME format
It confused me more than once
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'init')
-rw-r--r-- | init/halt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/init/halt.c b/init/halt.c index b7fb10869..f69b89772 100644 --- a/init/halt.c +++ b/init/halt.c | |||
@@ -46,8 +46,9 @@ | |||
46 | //config: locating telinit executable. | 46 | //config: locating telinit executable. |
47 | 47 | ||
48 | //applet:IF_HALT(APPLET(halt, BB_DIR_SBIN, BB_SUID_DROP)) | 48 | //applet:IF_HALT(APPLET(halt, BB_DIR_SBIN, BB_SUID_DROP)) |
49 | // APPLET_ODDNAME:name main location suid_type help | ||
49 | //applet:IF_POWEROFF(APPLET_ODDNAME(poweroff, halt, BB_DIR_SBIN, BB_SUID_DROP, poweroff)) | 50 | //applet:IF_POWEROFF(APPLET_ODDNAME(poweroff, halt, BB_DIR_SBIN, BB_SUID_DROP, poweroff)) |
50 | //applet:IF_REBOOT(APPLET_ODDNAME(reboot, halt, BB_DIR_SBIN, BB_SUID_DROP, reboot)) | 51 | //applet:IF_REBOOT( APPLET_ODDNAME(reboot, halt, BB_DIR_SBIN, BB_SUID_DROP, reboot)) |
51 | 52 | ||
52 | //kbuild:lib-$(CONFIG_HALT) += halt.o | 53 | //kbuild:lib-$(CONFIG_HALT) += halt.o |
53 | //kbuild:lib-$(CONFIG_POWEROFF) += halt.o | 54 | //kbuild:lib-$(CONFIG_POWEROFF) += halt.o |