summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGrigory Batalov2010-05-23 23:22:10 +0200
committerDenys Vlasenko2010-05-23 23:22:10 +0200
commitad7a5d436c8dec563f834a0a9bdad9e69b333cc9 (patch)
treec28e639d7c526dca6ef6d29892b05a416f6b8286 /include
parenta85b66e0f906fedbba7fbaf5ea9ac0dbfc0e4916 (diff)
downloadbusybox-ad7a5d436c8dec563f834a0a9bdad9e69b333cc9.zip
busybox-ad7a5d436c8dec563f834a0a9bdad9e69b333cc9.tar.gz
fgconsole: new applet by Grigory Batalov <bga@altlinux.org>
function old new delta fgconsole_main - 51 +51 applet_names 2227 2237 +10 applet_main 1304 1308 +4 applet_nameofs 652 654 +2 applet_install_loc 163 164 +1 packed_usage 27079 27073 -6 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 4/1 up/down: 68/-6) Total: 62 bytes Signed-off-by: Grigory Batalov <bga@altlinux.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/applets.h1
-rw-r--r--include/usage.h13
2 files changed, 10 insertions, 4 deletions
diff --git a/include/applets.h b/include/applets.h
index ff8799c..33c3c25 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -157,6 +157,7 @@ IF_FBSPLASH(APPLET(fbsplash, _BB_DIR_SBIN, _BB_SUID_DROP))
IF_FDFLUSH(APPLET_ODDNAME(fdflush, freeramdisk, _BB_DIR_BIN, _BB_SUID_DROP, fdflush))
IF_FDFORMAT(APPLET(fdformat, _BB_DIR_USR_BIN, _BB_SUID_DROP))
IF_FDISK(APPLET(fdisk, _BB_DIR_SBIN, _BB_SUID_DROP))
+IF_FGCONSOLE(APPLET(fgconsole, _BB_DIR_USR_BIN, _BB_SUID_DROP))
IF_FEATURE_GREP_FGREP_ALIAS(APPLET_ODDNAME(fgrep, grep, _BB_DIR_BIN, _BB_SUID_DROP, fgrep))
IF_FIND(APPLET_NOEXEC(find, find, _BB_DIR_USR_BIN, _BB_SUID_DROP, find))
IF_FINDFS(APPLET(findfs, _BB_DIR_SBIN, _BB_SUID_MAYBE))
diff --git a/include/usage.h b/include/usage.h
index d53b867..8b8bd2c 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -156,6 +156,11 @@
"\n -r Repetitions" \
"\n -n Start new tone" \
+#define blkid_trivial_usage \
+ ""
+#define blkid_full_usage "\n\n" \
+ "Print UUIDs of all filesystems"
+
#define bootchartd_trivial_usage \
"start [PROG ARGS]|stop|init"
#define bootchartd_full_usage "\n\n" \
@@ -1243,10 +1248,10 @@
"\n -H HEADS" \
"\n -S SECTORS" \
-#define blkid_trivial_usage \
- ""
-#define blkid_full_usage "\n\n" \
- "Print UUIDs of all filesystems"
+#define fgconsole_trivial_usage \
+ ""
+#define fgconsole_full_usage "\n\n" \
+ "Get active console"
#define findfs_trivial_usage \
"LABEL=label or UUID=uuid"