diff options
author | Denys Vlasenko | 2017-01-29 14:57:33 +0100 |
---|---|---|
committer | Denys Vlasenko | 2017-01-29 14:57:33 +0100 |
commit | 205d48e9480e3a60f2bf1094f67d837f1b44aea5 (patch) | |
tree | d395165adcaa9f2cb03372f126a38111c931dcbe /networking | |
parent | b4b12bf2344148976d1cd0f17bca0c0fbf7a364c (diff) | |
download | busybox-205d48e9480e3a60f2bf1094f67d837f1b44aea5.zip busybox-205d48e9480e3a60f2bf1094f67d837f1b44aea5.tar.gz |
*: add comment about APPLET_ODDNAME format
It confused me more than once
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r-- | networking/hostname.c | 1 | ||||
-rw-r--r-- | networking/ifupdown.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/networking/hostname.c b/networking/hostname.c index 04a051e..9f24184 100644 --- a/networking/hostname.c +++ b/networking/hostname.c @@ -22,6 +22,7 @@ //config: help //config: Alias to "hostname -d". +// APPLET_ODDNAME:name main location suid_type help //applet:IF_DNSDOMAINNAME(APPLET_ODDNAME(dnsdomainname, hostname, BB_DIR_BIN, BB_SUID_DROP, dnsdomainname)) //applet:IF_HOSTNAME(APPLET(hostname, BB_DIR_BIN, BB_SUID_DROP)) diff --git a/networking/ifupdown.c b/networking/ifupdown.c index 78baa66..a76fe10 100644 --- a/networking/ifupdown.c +++ b/networking/ifupdown.c @@ -106,7 +106,8 @@ //config: Otherwise, if udhcpc applet is enabled, it is used. //config: Otherwise, ifup/ifdown will have no support for DHCP. -//applet:IF_IFUP(APPLET_ODDNAME(ifup, ifupdown, BB_DIR_SBIN, BB_SUID_DROP, ifup)) +// APPLET_ODDNAME:name main location suid_type help +//applet:IF_IFUP( APPLET_ODDNAME(ifup, ifupdown, BB_DIR_SBIN, BB_SUID_DROP, ifup)) //applet:IF_IFDOWN(APPLET_ODDNAME(ifdown, ifupdown, BB_DIR_SBIN, BB_SUID_DROP, ifdown)) //kbuild:lib-$(CONFIG_IFUP) += ifupdown.o |