From owner-freebsd-bugs Thu Oct 26 20:30: 6 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7D87637B4C5 for ; Thu, 26 Oct 2000 20:30:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id UAA93077; Thu, 26 Oct 2000 20:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from kris.kiwi-computer.com (adsl-151-203-126-84.bostma.adsl.bellatlantic.net [151.203.126.84]) by hub.freebsd.org (Postfix) with ESMTP id 2E62F37B479 for ; Thu, 26 Oct 2000 20:27:53 -0700 (PDT) Received: (from root@localhost) by kris.kiwi-computer.com (8.9.3/8.9.3) id XAA26864; Thu, 26 Oct 2000 23:30:27 -0400 (EDT) (envelope-from rick) Message-Id: <200010270330.XAA26864@kris.kiwi-computer.com> Date: Thu, 26 Oct 2000 23:30:27 -0400 (EDT) From: rick@kiwi-computer.com Reply-To: rick@kiwi-computer.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: misc/22331: request to add default issue file to gettytab Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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