Date: Wed, 20 Jan 1999 19:25:26 +0100 (CET) From: Blaz Zupan <blaz@gold.amis.net> To: freebsd-current@FreeBSD.ORG Subject: Cosmetic issues with ISDN startup Message-ID: <Pine.BSF.4.05.9901201921200.285-100000@gold.amis.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9901201921200.285-100000>
