diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-09-21 13:43:28 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-09-21 13:43:28 +0000 |
commit | efd3f38f8cc823af30ce2a19d7f4eb55c3866cad (patch) | |
tree | 2ea99ef1a41dc3b56a859f79a2622d7397251b27 | |
parent | 0beaff8c19fddb694aab084a59c47b486dd6a8eb (diff) | |
download | busybox-efd3f38f8cc823af30ce2a19d7f4eb55c3866cad.tar.gz |
microcom: new applet by Vladimir Dronnikov <dronnikov@gmail.ru>
-rw-r--r-- | include/applets.h | 1 | ||||
-rw-r--r-- | include/usage.h | 5 | ||||
-rw-r--r-- | util-linux/Config.in | 6 | ||||
-rw-r--r-- | util-linux/Kbuild | 1 |
4 files changed, 13 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index f92ce4b13..f162c5479 100644 --- a/include/applets.h +++ b/include/applets.h @@ -223,6 +223,7 @@ USE_MATCHPATHCON(APPLET(matchpathcon, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)) USE_MD5SUM(APPLET_ODDNAME(md5sum, md5_sha1_sum, _BB_DIR_USR_BIN, _BB_SUID_NEVER, md5sum)) USE_MDEV(APPLET(mdev, _BB_DIR_SBIN, _BB_SUID_NEVER)) USE_MESG(APPLET(mesg, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) +USE_MICROCOM(APPLET(microcom, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) USE_MKDIR(APPLET_NOFORK(mkdir, mkdir, _BB_DIR_BIN, _BB_SUID_NEVER, mkdir)) //USE_MKE2FS(APPLET(mke2fs, _BB_DIR_SBIN, _BB_SUID_NEVER)) USE_MKFIFO(APPLET(mkfifo, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) diff --git a/include/usage.h b/include/usage.h index c5ed55881..eb1a6415f 100644 --- a/include/usage.h +++ b/include/usage.h @@ -2077,6 +2077,11 @@ " y Allow write access to your terminal\n" \ " n Disallow write access to your terminal" +#define microcom_trivial_usage \ + "[-s speed] tty-name" +#define microcom_full_usage \ + "" + #define mkdir_trivial_usage \ "[OPTION] DIRECTORY..." #define mkdir_full_usage \ diff --git a/util-linux/Config.in b/util-linux/Config.in index 107382f51..7d8e94890 100644 --- a/util-linux/Config.in +++ b/util-linux/Config.in @@ -305,6 +305,12 @@ config FEATURE_MDEV_LOAD_FIRMWARE /lib/firmware/ and if it exists, send it to the kernel for loading into the hardware. +config MICROCOM + bool "microcom" + default n + help + The poor man's minicom utility for chatting with serial port devices. + config MKSWAP bool "mkswap" default n diff --git a/util-linux/Kbuild b/util-linux/Kbuild index cc1d0e05d..8f3138a87 100644 --- a/util-linux/Kbuild +++ b/util-linux/Kbuild @@ -30,3 +30,4 @@ lib-$(CONFIG_SETARCH) +=setarch.o lib-$(CONFIG_SWAPONOFF) +=swaponoff.o lib-$(CONFIG_SWITCH_ROOT) +=switch_root.o lib-$(CONFIG_UMOUNT) +=umount.o +lib-$(CONFIG_MICROCOM) +=microcom.o |