From: Eric Andersen Date: Wed, 27 Jul 2005 06:05:38 +0000 (-0000) Subject: The change in getty.c in Busybox 1.01 caused the /etc/issue file to not X-Git-Tag: 1_1_0~873 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=77804ce53d2a83d89e272a20763f2e6f5fc25d8c;p=oweals%2Fbusybox.git The change in getty.c in Busybox 1.01 caused the /etc/issue file to not be displayed unless CONFIG_FEATURE_UTMP is set. This was not the intended result. --- diff --git a/loginutils/getty.c b/loginutils/getty.c index 9648a1742..9bad008c6 100644 --- a/loginutils/getty.c +++ b/loginutils/getty.c @@ -58,21 +58,22 @@ extern void updwtmp(const char *filename, const struct utmp *ut); /* * Things you may want to modify. * - * If ISSUE is not defined, agetty will never display the contents of the - * /etc/issue file. You will not want to spit out large "issue" files at the - * wrong baud rate. Relevant for System V only. - * * You may disagree with the default line-editing etc. characters defined * below. Note, however, that DEL cannot be used for interrupt generation * and for line editing at the same time. */ #ifdef SYSV_STYLE -#define ISSUE "/etc/issue" /* displayed before the login prompt */ #include #include #endif + /* If ISSUE is not defined, agetty will never display the contents of the + * /etc/issue file. You will not want to spit out large "issue" files at the + * wrong baud rate. + */ +#define ISSUE "/etc/issue" /* displayed before the login prompt */ + /* Some shorthands for control characters. */ #define CTL(x) (x ^ 0100) /* Assumes ASCII dialect */