[BusyBox-cvs] svn commit: trunk/busybox/loginutils
andersen at busybox.net
andersen at busybox.net
Wed Jul 27 06:05:39 UTC 2005
Author: andersen
Date: 2005-07-27 00:05:38 -0600 (Wed, 27 Jul 2005)
New Revision: 10928
Log:
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.
Modified:
trunk/busybox/loginutils/getty.c
Changeset:
Modified: trunk/busybox/loginutils/getty.c
===================================================================
--- trunk/busybox/loginutils/getty.c 2005-07-27 06:03:24 UTC (rev 10927)
+++ trunk/busybox/loginutils/getty.c 2005-07-27 06:05:38 UTC (rev 10928)
@@ -58,21 +58,22 @@
/*
* 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 <sys/utsname.h>
#include <time.h>
#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 */
More information about the busybox-cvs
mailing list