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, b...@medinet.si, http://home.amis.net/blaz
Medinet d.o.o., Linhartova 21, 2000 Maribor, Slovenia


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to