diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-07-16 17:16:40 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-07-16 17:16:40 +0200 |
commit | 51ca7761a3579f3c3f7e771b39019e6e248a5171 (patch) | |
tree | 04621b8f401e5a478070e633fb2c086c05c99695 /include | |
parent | 5d26df6497505e8ed486bf3e3ba65d0d6f0daa15 (diff) | |
download | busybox-w32-51ca7761a3579f3c3f7e771b39019e6e248a5171.tar.gz busybox-w32-51ca7761a3579f3c3f7e771b39019e6e248a5171.tar.bz2 busybox-w32-51ca7761a3579f3c3f7e771b39019e6e248a5171.zip |
cttyhack: move build system bits into cttyhack.c, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.src.h | 1 | ||||
-rw-r--r-- | include/usage.src.h | 11 |
2 files changed, 0 insertions, 12 deletions
diff --git a/include/applets.src.h b/include/applets.src.h index 6ca0c3230..195598fee 100644 --- a/include/applets.src.h +++ b/include/applets.src.h | |||
@@ -104,7 +104,6 @@ IF_CPIO(APPLET(cpio, _BB_DIR_BIN, _BB_SUID_DROP)) | |||
104 | IF_CROND(APPLET(crond, _BB_DIR_USR_SBIN, _BB_SUID_DROP)) | 104 | IF_CROND(APPLET(crond, _BB_DIR_USR_SBIN, _BB_SUID_DROP)) |
105 | IF_CRONTAB(APPLET(crontab, _BB_DIR_USR_BIN, _BB_SUID_REQUIRE)) | 105 | IF_CRONTAB(APPLET(crontab, _BB_DIR_USR_BIN, _BB_SUID_REQUIRE)) |
106 | IF_CRYPTPW(APPLET(cryptpw, _BB_DIR_USR_BIN, _BB_SUID_DROP)) | 106 | IF_CRYPTPW(APPLET(cryptpw, _BB_DIR_USR_BIN, _BB_SUID_DROP)) |
107 | IF_CTTYHACK(APPLET(cttyhack, _BB_DIR_BIN, _BB_SUID_DROP)) | ||
108 | IF_CUT(APPLET_NOEXEC(cut, cut, _BB_DIR_USR_BIN, _BB_SUID_DROP, cut)) | 107 | IF_CUT(APPLET_NOEXEC(cut, cut, _BB_DIR_USR_BIN, _BB_SUID_DROP, cut)) |
109 | IF_DATE(APPLET(date, _BB_DIR_BIN, _BB_SUID_DROP)) | 108 | IF_DATE(APPLET(date, _BB_DIR_BIN, _BB_SUID_DROP)) |
110 | IF_DC(APPLET(dc, _BB_DIR_USR_BIN, _BB_SUID_DROP)) | 109 | IF_DC(APPLET(dc, _BB_DIR_USR_BIN, _BB_SUID_DROP)) |
diff --git a/include/usage.src.h b/include/usage.src.h index 46d64c135..9b326eebb 100644 --- a/include/usage.src.h +++ b/include/usage.src.h | |||
@@ -678,17 +678,6 @@ INSERT | |||
678 | "\n -S SALT" \ | 678 | "\n -S SALT" \ |
679 | ) \ | 679 | ) \ |
680 | 680 | ||
681 | #define cttyhack_trivial_usage \ | ||
682 | "PROG ARGS" | ||
683 | #define cttyhack_full_usage "\n\n" \ | ||
684 | "Give PROG a controlling tty if possible." \ | ||
685 | "\nExample for /etc/inittab (for busybox init):" \ | ||
686 | "\n ::respawn:/bin/cttyhack /bin/sh" \ | ||
687 | "\nGiving controlling tty to shell running with PID 1:" \ | ||
688 | "\n $ exec cttyhack sh" \ | ||
689 | "\nStarting interactive shell from boot shell script:" \ | ||
690 | "\n setsid cttyhack sh" \ | ||
691 | |||
692 | #define cut_trivial_usage \ | 681 | #define cut_trivial_usage \ |
693 | "[OPTIONS] [FILE]..." | 682 | "[OPTIONS] [FILE]..." |
694 | #define cut_full_usage "\n\n" \ | 683 | #define cut_full_usage "\n\n" \ |