diff options
author | brian <brian@FreeBSD.org> | 2001-05-18 09:14:39 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2001-05-18 09:14:39 +0000 |
commit | ed0f313004c334b1f686be02b9031b0a8142abc4 (patch) | |
tree | d64ab3c31917e3168a630cc6a6bb2bbb82868c00 /etc/netstart | |
parent | b3fa78683d66df93bfa7957a8cadae45652838f7 (diff) | |
download | FreeBSD-src-ed0f313004c334b1f686be02b9031b0a8142abc4.zip FreeBSD-src-ed0f313004c334b1f686be02b9031b0a8142abc4.tar.gz |
Run network6_pass1 if ipv6_enable is YES
Diffstat (limited to 'etc/netstart')
-rwxr-xr-x | etc/netstart | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/etc/netstart b/etc/netstart index 58d05a7..56d8973 100755 --- a/etc/netstart +++ b/etc/netstart @@ -56,4 +56,19 @@ 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 + exit 0 |