Date: Thu, 26 Oct 2000 23:30:27 -0400 (EDT) From: rick@kiwi-computer.com To: FreeBSD-gnats-submit@freebsd.org Subject: misc/22331: request to add default issue file to gettytab Message-ID: <200010270330.XAA26864@kris.kiwi-computer.com>
next in thread | raw e-mail | index | archive | help
>Number: 22331 >Category: misc >Synopsis: request to add if=/etc/issue to /etc/gettytab >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Oct 26 20:30:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Rick C. Petty >Release: FreeBSD 4.1-RELEASE i386 >Organization: KIWI Computer >Environment: 4.1-RELEASE >Description: It would be nice if the default terminal class entry in gettytab(5) had the proper reference to /etc/issue, the file which is displayed prior to the login prompt. Many systems use "issue" and it would save a little time every upgrade if the gettytab already had the proper if= tag set (thus the system maintainer would just update /etc/issue as necessary). Note: Adding this patch does not cause anything to break (tested on both 4.1-RELEASE & 4.1.1-STABLE as of Oct 24 2000). If /etc/issue file does not exist, getty(8) just ignores the if= tag. >How-To-Repeat: >Fix: Apply the following patch: --- usr/src/etc/gettytab.orig Thu Oct 26 22:52:26 2000 +++ usr/src/etc/gettytab Thu Oct 26 22:52:40 2000 @@ -38,7 +38,8 @@ # np:ap: same as np except istrip. # default:\ - :cb:ce:ck:lc:fd#1000:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200: + :cb:ce:ck:lc:fd#1000:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200:\ + :if=/etc/issue: # # Fixed speed entries >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010270330.XAA26864>