diff options
author | ume <ume@FreeBSD.org> | 2000-07-17 12:33:57 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2000-07-17 12:33:57 +0000 |
commit | c633746aa6dbaa895bff3682cd0c909143dcc677 (patch) | |
tree | 563698cc3b5383a15438473ada5935d9d090593f | |
parent | 968e0bbd12ba6e07b82f33004f95a3a9cbe321dd (diff) | |
download | FreeBSD-src-c633746aa6dbaa895bff3682cd0c909143dcc677.zip FreeBSD-src-c633746aa6dbaa895bff3682cd0c909143dcc677.tar.gz |
If ipv6_enable is set to yes, do IPv6 setup for PCCARD ethernet
card. This is still at staring point and end node case only.
-rwxr-xr-x | etc/pccard_ether | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/etc/pccard_ether b/etc/pccard_ether index f725d61..1e6d86d 100755 --- a/etc/pccard_ether +++ b/etc/pccard_ether @@ -64,3 +64,17 @@ if [ -n "${static_routes}" ]; then route add ${route_args} done fi + +# IPv6 setup +case ${ipv6_enable} in +[Yy][Ee][Ss]) + case ${ipv6_gateway_enable} in + [Yy][Ee][Ss]) + ;; + *) + ifconfig ${interface} up + rtsol ${interface} + ;; + esac + ;; +esac |