summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authorshin <shin@FreeBSD.org>2000-02-23 18:05:58 +0000
committershin <shin@FreeBSD.org>2000-02-23 18:05:58 +0000
commitaf0bb085250e0cfb160fc34ac4d3aa545bc5940a (patch)
tree9ecbdd1111b9f930840a3a81e289545774991a0d /etc/rc
parent8e95d00d2495c79517e8b1865fabe090db0bade2 (diff)
downloadFreeBSD-src-af0bb085250e0cfb160fc34ac4d3aa545bc5940a.zip
FreeBSD-src-af0bb085250e0cfb160fc34ac4d3aa545bc5940a.tar.gz
Add IPv6 configuration scripts.
Initial version created by, and kindly much tested by: bmah@CA.Sandia.GOV (Bruce A. Mah) Approved by: jkh Reviewed by: bmah@CA.Sandia.GOV (Bruce A. Mah), Ollivier Robert <roberto@keltia.freenix.fr> Obtained from: KAME project
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc9
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/rc b/etc/rc
index 5fb737ef..2ebd36e 100644
--- a/etc/rc
+++ b/etc/rc
@@ -191,6 +191,15 @@ if [ -r /etc/rc.network ]; then
network_pass1
fi
+case ${ipv6_enable} in
+[Yy][Ee][Ss])
+ if [ -r /etc/rc.network6 ]; then
+ . /etc/rc.network6 # We only need to do this once also.
+ network6_pass1
+ fi
+ ;;
+esac
+
# Mount NFS filesystems.
echo -n "Mounting NFS file systems"
mount -a -t nfs
OpenPOWER on IntegriCloud