diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2002-09-16 03:16:06 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2002-09-16 03:16:06 +0000 |
commit | ec0c48cb296185c5af585c9f9a7213cd4177dbb5 (patch) | |
tree | 49aee82f58bf99c33065595d20efc1ed08a03e3c /include | |
parent | 6714862bdd2ee83d0e0f42cdbf4752629376b81e (diff) | |
download | busybox-w32-ec0c48cb296185c5af585c9f9a7213cd4177dbb5.tar.gz busybox-w32-ec0c48cb296185c5af585c9f9a7213cd4177dbb5.tar.bz2 busybox-w32-ec0c48cb296185c5af585c9f9a7213cd4177dbb5.zip |
openvt applet by Quy Tonthat
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 |