diff options
author | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-09-16 03:16:06 +0000 |
---|---|---|
committer | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-09-16 03:16:06 +0000 |
commit | 2cc12a86b3ba39e93fef7a1ab960376a9cc09f68 (patch) | |
tree | 49aee82f58bf99c33065595d20efc1ed08a03e3c /include | |
parent | b9d3efbd14074273b957937226816c92e6d6b2ff (diff) | |
download | busybox-w32-2cc12a86b3ba39e93fef7a1ab960376a9cc09f68.tar.gz busybox-w32-2cc12a86b3ba39e93fef7a1ab960376a9cc09f68.tar.bz2 busybox-w32-2cc12a86b3ba39e93fef7a1ab960376a9cc09f68.zip |
openvt applet by Quy Tonthat
git-svn-id: svn://busybox.net/trunk/busybox@5489 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 3 | ||||
-rw-r--r-- | include/usage.h | 7 |
2 files changed, 10 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index 9117880ad..38d75344f 100644 --- a/include/applets.h +++ b/include/applets.h | |||
@@ -341,6 +341,9 @@ | |||
341 | #ifdef CONFIG_OD | 341 | #ifdef CONFIG_OD |
342 | APPLET(od, od_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | 342 | APPLET(od, od_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) |
343 | #endif | 343 | #endif |
344 | #ifdef CONFIG_OPENVT | ||
345 | APPLET(openvt, openvt_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | ||
346 | #endif | ||
344 | #ifdef CONFIG_PASSWD | 347 | #ifdef CONFIG_PASSWD |
345 | APPLET(passwd, passwd_main, _BB_DIR_USR_BIN, _BB_SUID_ALWAYS) | 348 | APPLET(passwd, passwd_main, _BB_DIR_USR_BIN, _BB_SUID_ALWAYS) |
346 | #endif | 349 | #endif |
diff --git a/include/usage.h b/include/usage.h index 9e16a085f..98b81cf1d 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -1347,6 +1347,13 @@ | |||
1347 | "Write an unambiguous representation, octal bytes by default, of FILE\n"\ | 1347 | "Write an unambiguous representation, octal bytes by default, of FILE\n"\ |
1348 | "to standard output. With no FILE, or when FILE is -, read standard input." | 1348 | "to standard output. With no FILE, or when FILE is -, read standard input." |
1349 | 1349 | ||
1350 | #define openvt_trivial_usage \ | ||
1351 | "<vtnum> <COMMAND> [ARGS...]" | ||
1352 | #define openvt_full_usage \ | ||
1353 | "Start a command on a new virtual terminal" | ||
1354 | #define openvt_example_usage \ | ||
1355 | "openvt 2 /bin/ash\n" | ||
1356 | |||
1350 | #ifdef CONFIG_FEATURE_SHA1_PASSWORDS | 1357 | #ifdef CONFIG_FEATURE_SHA1_PASSWORDS |
1351 | #define PASSWORD_ALG_TYPES(a) a | 1358 | #define PASSWORD_ALG_TYPES(a) a |
1352 | #else | 1359 | #else |