mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-13 10:02:38 +00:00
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).
|
||||
#
|
||||
|
||||
# If there is a global system configuration file, suck it in.
|
||||
if [ -f /etc/defaults/rc.conf ]; then
|
||||
. /etc/defaults/rc.conf
|
||||
source_rc_confs
|
||||
elif [ -f /etc/rc.conf ]; then
|
||||
. /etc/rc.conf
|
||||
fi
|
||||
. /etc/rc.subr
|
||||
|
||||
# Start pccard if necessary
|
||||
if [ -r /etc/rc.pccard ]; then
|
||||
. /etc/rc.pccard
|
||||
fi
|
||||
|
||||
if [ -r /etc/rc.network ]; then
|
||||
. /etc/rc.network
|
||||
else
|
||||
echo 'Sorry, I cannot find /etc/rc.network - aborting'
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo 'Doing stage one network startup:'
|
||||
network_pass1
|
||||
|
||||
case ${ipv6_enable} in
|
||||
[Yy][Ee][Ss])
|
||||
if [ -r /etc/rc.network6 ]; then
|
||||
. /etc/rc.network6
|
||||
else
|
||||
echo 'Sorry, I cannot find /etc/rc.network6 - aborting'
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo 'Doing stage one network6 startup:'
|
||||
network6_pass1
|
||||
;;
|
||||
esac
|
||||
load_rc_config 'XXX'
|
||||
# /etc/rc.d/pccard start
|
||||
/etc/rc.d/devd start
|
||||
/etc/rc.d/hostname start
|
||||
/etc/rc.d/ipmon start
|
||||
/etc/rc.d/ipfilter start
|
||||
/etc/rc.d/ipnat start
|
||||
/etc/rc.d/ipfs start
|
||||
/etc/rc.d/sppp start
|
||||
# /etc/rc.d/atm1 start
|
||||
# . /etc/rc.d/atm2.sh start
|
||||
# . /etc/rc.d/atm3.sh start
|
||||
/etc/rc.d/netif start
|
||||
/etc/rc.d/ipsec start
|
||||
/etc/rc.d/dhclient start
|
||||
/etc/rc.d/isdnd start
|
||||
/etc/rc.d/ppp-user start
|
||||
/etc/rc.d/ipfw start
|
||||
/etc/rc.d/network2 start
|
||||
/etc/rc.d/ip6fw start
|
||||
/etc/rc.d/network_ipv6 start
|
||||
/etc/rc.d/mroute6d start
|
||||
/etc/rc.d/route6d start
|
||||
/etc/rc.d/mrouted start
|
||||
/etc/rc.d/routed start
|
||||
/etc/rc.d/nisdomain start
|
||||
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user