cttyhack: move build system bits into cttyhack.c, no code changes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2010-07-16 17:16:40 +02:00
parent 5d26df6497
commit 51ca7761a3
6 changed files with 53 additions and 49 deletions

View File

@@ -104,7 +104,6 @@ IF_CPIO(APPLET(cpio, _BB_DIR_BIN, _BB_SUID_DROP))
IF_CROND(APPLET(crond, _BB_DIR_USR_SBIN, _BB_SUID_DROP))
IF_CRONTAB(APPLET(crontab, _BB_DIR_USR_BIN, _BB_SUID_REQUIRE))
IF_CRYPTPW(APPLET(cryptpw, _BB_DIR_USR_BIN, _BB_SUID_DROP))
IF_CTTYHACK(APPLET(cttyhack, _BB_DIR_BIN, _BB_SUID_DROP))
IF_CUT(APPLET_NOEXEC(cut, cut, _BB_DIR_USR_BIN, _BB_SUID_DROP, cut))
IF_DATE(APPLET(date, _BB_DIR_BIN, _BB_SUID_DROP))
IF_DC(APPLET(dc, _BB_DIR_USR_BIN, _BB_SUID_DROP))

View File

@@ -678,17 +678,6 @@ INSERT
"\n -S SALT" \
) \
#define cttyhack_trivial_usage \
"PROG ARGS"
#define cttyhack_full_usage "\n\n" \
"Give PROG a controlling tty if possible." \
"\nExample for /etc/inittab (for busybox init):" \
"\n ::respawn:/bin/cttyhack /bin/sh" \
"\nGiving controlling tty to shell running with PID 1:" \
"\n $ exec cttyhack sh" \
"\nStarting interactive shell from boot shell script:" \
"\n setsid cttyhack sh" \
#define cut_trivial_usage \
"[OPTIONS] [FILE]..."
#define cut_full_usage "\n\n" \