From owner-freebsd-current Wed Jan 20 10:26:30 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA29082 for freebsd-current-outgoing; Wed, 20 Jan 1999 10:26:30 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from server.amis.net (server.amis.net [195.10.52.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA29070 for ; Wed, 20 Jan 1999 10:26:23 -0800 (PST) (envelope-from blaz@gold.amis.net) Received: (from uucp@localhost) by server.amis.net (8.8.8/8.8.8) with UUCP id TAA20322 for freebsd-current@freebsd.org; Wed, 20 Jan 1999 19:26:04 +0100 (CET) Received: (qmail 310 invoked by uid 1000); 20 Jan 1999 18:25:26 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 20 Jan 1999 18:25:26 -0000 Date: Wed, 20 Jan 1999 19:25:26 +0100 (CET) From: Blaz Zupan To: freebsd-current@FreeBSD.ORG Subject: Cosmetic issues with ISDN startup Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am experiencing two rather cosmetic issues with how the ISDN subsystem starts up. The first is, that when you enable isdnd, syslogd is not yet running. So isdnd outputs a whole lot of garbage (basically the whole configuration) to the console. This patch to /usr/src/usr.sbin/i4b/isdnd/log.c solves the mess: *** log.c.old Sun Dec 27 22:47:01 1998 --- log.c Wed Jan 20 18:57:08 1999 *************** *** 100,106 **** logfacility); else #endif ! (void)openlog("isdnd", LOG_PID|LOG_CONS|LOG_NDELAY, logfacility); } --- 100,106 ---- logfacility); else #endif ! (void)openlog("isdnd", LOG_PID|LOG_NDELAY, logfacility); } I really don't believe the messages are urgent enough to warrant LOG_CONS, considering that named doesn't openlog() with LOG_CONS either. The next issue is in /etc/rc.network. When you solve the above mess, you get this during startup: Doing initial network setup: hostname. isdnd ... [rest of messages] I belive the isdnd should be output on the previous line, this patches fixes it: *** rc.network.old Thu Jan 14 00:18:07 1999 --- rc.network Wed Jan 20 19:20:28 1999 *************** *** 23,39 **** domainname $nisdomainname echo -n ' domain' fi echo '.' # Initial ATM interface configuration if [ "X${atm_enable}" = X"YES" -a -f /etc/rc.atm ]; then . /etc/rc.atm atm_pass1 - fi - - # ISDN subsystem startup - if [ "X${isdn_enable}" = X"YES" -a -f /etc/rc.isdn ]; then - . /etc/rc.isdn fi # Special options for sppp(4) interfaces go here. These need --- 23,40 ---- domainname $nisdomainname echo -n ' domain' fi + + # ISDN subsystem startup + if [ "X${isdn_enable}" = X"YES" -a -f /etc/rc.isdn ]; then + . /etc/rc.isdn + fi + echo '.' # Initial ATM interface configuration if [ "X${atm_enable}" = X"YES" -a -f /etc/rc.atm ]; then . /etc/rc.atm atm_pass1 fi # Special options for sppp(4) interfaces go here. These need Best regards, Blaz Zupan, blaz@medinet.si, http://home.amis.net/blaz Medinet d.o.o., Linhartova 21, 2000 Maribor, Slovenia To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message