Approved by: jkh
Reviewed by: joerg The isdnd is able to listen on a socket for isdnmonitor to connect to it to remotely control it (similar to ppp and pppctl). When this is enabled in the isdnd config file, it will fail currently because isdnd is started before the network interfaces are configured. It is necessary to move the isdnd start after the ifconfig of the network interfaces, then this problem will not occur.
This commit is contained in:
parent
3a119ee1e2
commit
6945eda6ea
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57012
@ -44,16 +44,6 @@ network_pass1() {
|
||||
;;
|
||||
esac
|
||||
|
||||
# ISDN subsystem startup
|
||||
#
|
||||
case ${isdn_enable} in
|
||||
[Yy][Ee][Ss])
|
||||
if [ -r /etc/rc.isdn ]; then
|
||||
. /etc/rc.isdn
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
# Special options for sppp(4) interfaces go here. These need
|
||||
# to go _before_ the general ifconfig section, since in the case
|
||||
# of hardwired (no link1 flag) but required authentication, you
|
||||
@ -138,6 +128,16 @@ network_pass1() {
|
||||
fi
|
||||
done
|
||||
|
||||
# ISDN subsystem startup
|
||||
#
|
||||
case ${isdn_enable} in
|
||||
[Yy][Ee][Ss])
|
||||
if [ -r /etc/rc.isdn ]; then
|
||||
. /etc/rc.isdn
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
# Warm up user ppp if required, must happen before natd.
|
||||
#
|
||||
case ${ppp_enable} in
|
||||
|
@ -44,16 +44,6 @@ network_pass1() {
|
||||
;;
|
||||
esac
|
||||
|
||||
# ISDN subsystem startup
|
||||
#
|
||||
case ${isdn_enable} in
|
||||
[Yy][Ee][Ss])
|
||||
if [ -r /etc/rc.isdn ]; then
|
||||
. /etc/rc.isdn
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
# Special options for sppp(4) interfaces go here. These need
|
||||
# to go _before_ the general ifconfig section, since in the case
|
||||
# of hardwired (no link1 flag) but required authentication, you
|
||||
@ -138,6 +128,16 @@ network_pass1() {
|
||||
fi
|
||||
done
|
||||
|
||||
# ISDN subsystem startup
|
||||
#
|
||||
case ${isdn_enable} in
|
||||
[Yy][Ee][Ss])
|
||||
if [ -r /etc/rc.isdn ]; then
|
||||
. /etc/rc.isdn
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
# Warm up user ppp if required, must happen before natd.
|
||||
#
|
||||
case ${ppp_enable} in
|
||||
|
@ -44,16 +44,6 @@ network_pass1() {
|
||||
;;
|
||||
esac
|
||||
|
||||
# ISDN subsystem startup
|
||||
#
|
||||
case ${isdn_enable} in
|
||||
[Yy][Ee][Ss])
|
||||
if [ -r /etc/rc.isdn ]; then
|
||||
. /etc/rc.isdn
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
# Special options for sppp(4) interfaces go here. These need
|
||||
# to go _before_ the general ifconfig section, since in the case
|
||||
# of hardwired (no link1 flag) but required authentication, you
|
||||
@ -138,6 +128,16 @@ network_pass1() {
|
||||
fi
|
||||
done
|
||||
|
||||
# ISDN subsystem startup
|
||||
#
|
||||
case ${isdn_enable} in
|
||||
[Yy][Ee][Ss])
|
||||
if [ -r /etc/rc.isdn ]; then
|
||||
. /etc/rc.isdn
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
# Warm up user ppp if required, must happen before natd.
|
||||
#
|
||||
case ${ppp_enable} in
|
||||
|
@ -44,16 +44,6 @@ network_pass1() {
|
||||
;;
|
||||
esac
|
||||
|
||||
# ISDN subsystem startup
|
||||
#
|
||||
case ${isdn_enable} in
|
||||
[Yy][Ee][Ss])
|
||||
if [ -r /etc/rc.isdn ]; then
|
||||
. /etc/rc.isdn
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
# Special options for sppp(4) interfaces go here. These need
|
||||
# to go _before_ the general ifconfig section, since in the case
|
||||
# of hardwired (no link1 flag) but required authentication, you
|
||||
@ -138,6 +128,16 @@ network_pass1() {
|
||||
fi
|
||||
done
|
||||
|
||||
# ISDN subsystem startup
|
||||
#
|
||||
case ${isdn_enable} in
|
||||
[Yy][Ee][Ss])
|
||||
if [ -r /etc/rc.isdn ]; then
|
||||
. /etc/rc.isdn
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
# Warm up user ppp if required, must happen before natd.
|
||||
#
|
||||
case ${ppp_enable} in
|
||||
|
@ -44,16 +44,6 @@ network_pass1() {
|
||||
;;
|
||||
esac
|
||||
|
||||
# ISDN subsystem startup
|
||||
#
|
||||
case ${isdn_enable} in
|
||||
[Yy][Ee][Ss])
|
||||
if [ -r /etc/rc.isdn ]; then
|
||||
. /etc/rc.isdn
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
# Special options for sppp(4) interfaces go here. These need
|
||||
# to go _before_ the general ifconfig section, since in the case
|
||||
# of hardwired (no link1 flag) but required authentication, you
|
||||
@ -138,6 +128,16 @@ network_pass1() {
|
||||
fi
|
||||
done
|
||||
|
||||
# ISDN subsystem startup
|
||||
#
|
||||
case ${isdn_enable} in
|
||||
[Yy][Ee][Ss])
|
||||
if [ -r /etc/rc.isdn ]; then
|
||||
. /etc/rc.isdn
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
# Warm up user ppp if required, must happen before natd.
|
||||
#
|
||||
case ${ppp_enable} in
|
||||
|
@ -44,16 +44,6 @@ network_pass1() {
|
||||
;;
|
||||
esac
|
||||
|
||||
# ISDN subsystem startup
|
||||
#
|
||||
case ${isdn_enable} in
|
||||
[Yy][Ee][Ss])
|
||||
if [ -r /etc/rc.isdn ]; then
|
||||
. /etc/rc.isdn
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
# Special options for sppp(4) interfaces go here. These need
|
||||
# to go _before_ the general ifconfig section, since in the case
|
||||
# of hardwired (no link1 flag) but required authentication, you
|
||||
@ -138,6 +128,16 @@ network_pass1() {
|
||||
fi
|
||||
done
|
||||
|
||||
# ISDN subsystem startup
|
||||
#
|
||||
case ${isdn_enable} in
|
||||
[Yy][Ee][Ss])
|
||||
if [ -r /etc/rc.isdn ]; then
|
||||
. /etc/rc.isdn
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
# Warm up user ppp if required, must happen before natd.
|
||||
#
|
||||
case ${ppp_enable} in
|
||||
|
@ -44,16 +44,6 @@ network_pass1() {
|
||||
;;
|
||||
esac
|
||||
|
||||
# ISDN subsystem startup
|
||||
#
|
||||
case ${isdn_enable} in
|
||||
[Yy][Ee][Ss])
|
||||
if [ -r /etc/rc.isdn ]; then
|
||||
. /etc/rc.isdn
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
# Special options for sppp(4) interfaces go here. These need
|
||||
# to go _before_ the general ifconfig section, since in the case
|
||||
# of hardwired (no link1 flag) but required authentication, you
|
||||
@ -138,6 +128,16 @@ network_pass1() {
|
||||
fi
|
||||
done
|
||||
|
||||
# ISDN subsystem startup
|
||||
#
|
||||
case ${isdn_enable} in
|
||||
[Yy][Ee][Ss])
|
||||
if [ -r /etc/rc.isdn ]; then
|
||||
. /etc/rc.isdn
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
# Warm up user ppp if required, must happen before natd.
|
||||
#
|
||||
case ${ppp_enable} in
|
||||
|
Loading…
Reference in New Issue
Block a user