summaryrefslogtreecommitdiffstats
path: root/etc/pccard_ether
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2000-07-17 12:33:57 +0000
committerume <ume@FreeBSD.org>2000-07-17 12:33:57 +0000
commitc633746aa6dbaa895bff3682cd0c909143dcc677 (patch)
tree563698cc3b5383a15438473ada5935d9d090593f /etc/pccard_ether
parent968e0bbd12ba6e07b82f33004f95a3a9cbe321dd (diff)
downloadFreeBSD-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.
Diffstat (limited to 'etc/pccard_ether')
-rwxr-xr-xetc/pccard_ether14
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
OpenPOWER on IntegriCloud