new netstart
atm should be correct but is commented out pending appropriate testing. Submitted by: mtm
This commit is contained in:
parent
18ba26f0b8
commit
fd08d16bc2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=114213
62
etc/netstart
62
etc/netstart
@ -34,41 +34,33 @@
|
|||||||
# the network by hand, this script will do it for you).
|
# the network by hand, this script will do it for you).
|
||||||
#
|
#
|
||||||
|
|
||||||
# If there is a global system configuration file, suck it in.
|
. /etc/rc.subr
|
||||||
if [ -f /etc/defaults/rc.conf ]; then
|
|
||||||
. /etc/defaults/rc.conf
|
|
||||||
source_rc_confs
|
|
||||||
elif [ -f /etc/rc.conf ]; then
|
|
||||||
. /etc/rc.conf
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Start pccard if necessary
|
load_rc_config 'XXX'
|
||||||
if [ -r /etc/rc.pccard ]; then
|
# /etc/rc.d/pccard start
|
||||||
. /etc/rc.pccard
|
/etc/rc.d/devd start
|
||||||
fi
|
/etc/rc.d/hostname start
|
||||||
|
/etc/rc.d/ipmon start
|
||||||
if [ -r /etc/rc.network ]; then
|
/etc/rc.d/ipfilter start
|
||||||
. /etc/rc.network
|
/etc/rc.d/ipnat start
|
||||||
else
|
/etc/rc.d/ipfs start
|
||||||
echo 'Sorry, I cannot find /etc/rc.network - aborting'
|
/etc/rc.d/sppp start
|
||||||
exit 1
|
# /etc/rc.d/atm1 start
|
||||||
fi
|
# . /etc/rc.d/atm2.sh start
|
||||||
|
# . /etc/rc.d/atm3.sh start
|
||||||
echo 'Doing stage one network startup:'
|
/etc/rc.d/netif start
|
||||||
network_pass1
|
/etc/rc.d/ipsec start
|
||||||
|
/etc/rc.d/dhclient start
|
||||||
case ${ipv6_enable} in
|
/etc/rc.d/isdnd start
|
||||||
[Yy][Ee][Ss])
|
/etc/rc.d/ppp-user start
|
||||||
if [ -r /etc/rc.network6 ]; then
|
/etc/rc.d/ipfw start
|
||||||
. /etc/rc.network6
|
/etc/rc.d/network2 start
|
||||||
else
|
/etc/rc.d/ip6fw start
|
||||||
echo 'Sorry, I cannot find /etc/rc.network6 - aborting'
|
/etc/rc.d/network_ipv6 start
|
||||||
exit 1
|
/etc/rc.d/mroute6d start
|
||||||
fi
|
/etc/rc.d/route6d start
|
||||||
|
/etc/rc.d/mrouted start
|
||||||
echo 'Doing stage one network6 startup:'
|
/etc/rc.d/routed start
|
||||||
network6_pass1
|
/etc/rc.d/nisdomain start
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user