Bug 24865

Summary: WITH FIX: /etc/rc.isdn overwrites $isdn_ttype even when explicitly set in rc.conf
Product: Base System Reporter: Jens.Schweikhardt <Jens.Schweikhardt>
Component: confAssignee: Jens Schweikhardt <schweikh>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Jens.Schweikhardt 2001-02-05 09:00:01 UTC
/etc/rc.isdn says:
...
    # Terminal type for fullscreen mode, default to syscons driver
    #
    isdn_ttype=cons25

This overwrites any assignment in rc.conf or rc.conf.local.
The result is that your isdnd always thinks it's running on
a cons25, no matter what the actual terminal type is (e.g.
I use cons30l1. The mismatch in terminal type leads to curses
messing up corners drawn by box()).

Fix: 

Fix the assignment in /etc/rc.isdn to read

	isdn_ttype=${isdn_ttype:=cons25}

A similar solution should be used for 'isdn_ttype=pcvt25' a few
lines below.
How-To-Repeat: in /etc/rc.conf say
isdn_ttype=cons30l1
isdn_fsdev=/dev/ttyv4

run /etc/rc.isdn
ps axlww|grep isdnd
-> isdnd ... -t cons25
Comment 1 Jens Schweikhardt freebsd_committer freebsd_triage 2001-04-21 20:05:53 UTC
Responsible Changed
From-To: freebsd-bugs->schweikh

hm says I can go for it.
Comment 2 Jens Schweikhardt freebsd_committer freebsd_triage 2001-04-24 21:03:01 UTC
State Changed
From-To: open->closed

Fixed in -current.