ntpd: print result of hostname resolution
[oweals/busybox.git] / util-linux / lsusb.c
index c15b8cac3834c14a5125b38958201bfb755d1f1c..7d36d6f5abd37985d4faa833dc6bee2c9e949e77 100644 (file)
@@ -1,12 +1,29 @@
 /* vi: set sw=4 ts=4: */
 /*
-* lspci implementation for busybox
-*
-* Copyright (C) 2009  Malek Degachi <malek-degachi@laposte.net>
-*
-* Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
-*/
-#include <libbb.h>
+ * lsusb implementation for busybox
+ *
+ * Copyright (C) 2009  Malek Degachi <malek-degachi@laposte.net>
+ *
+ * Licensed under GPLv2 or later, see file LICENSE in this source tree.
+ */
+//config:config LSUSB
+//config:      bool "lsusb"
+//config:      default y
+//config:      #select PLATFORM_LINUX
+//config:      help
+//config:        lsusb is a utility for displaying information about USB buses in the
+//config:        system and devices connected to them.
+//config:
+//config:        This version uses sysfs (/sys/bus/usb/devices) only.
+
+//applet:IF_LSUSB(APPLET(lsusb, BB_DIR_USR_BIN, BB_SUID_DROP))
+
+//kbuild:lib-$(CONFIG_LSUSB) += lsusb.o
+
+//usage:#define lsusb_trivial_usage NOUSAGE_STR
+//usage:#define lsusb_full_usage ""
+
+#include "libbb.h"
 
 static int FAST_FUNC fileAction(
                const char *fileName,