summaryrefslogtreecommitdiffstats
path: root/etc/rc.network6
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.network6')
-rw-r--r--etc/rc.network621
1 files changed, 11 insertions, 10 deletions
diff --git a/etc/rc.network6 b/etc/rc.network6
index 406bde6..3e9a7c3 100644
--- a/etc/rc.network6
+++ b/etc/rc.network6
@@ -201,18 +201,19 @@ network6_pass1() {
# setup faith
network6_faith_setup
- case ${ipv6_gateway_enable} in
+ # ipv6_router
+ case ${ipv6_router_enable} in
[Yy][Ee][Ss])
- # ipv6_router
- case ${ipv6_router_enable} in
- [Yy][Ee][Ss])
- if [ -x ${ipv6_router} ]; then
- echo -n " ${ipv6_router}"
- ${ipv6_router} ${ipv6_router_flags}
- fi
- ;;
- esac
+ if [ -x ${ipv6_router} ]; then
+ echo -n " ${ipv6_router}"
+ ${ipv6_router} ${ipv6_router_flags}
+ fi
+ ;;
+ esac
+
+ case ${ipv6_gateway_enable} in
+ [Yy][Ee][Ss])
# rtadvd
# This should enabled with a great care.
# You may want to fine-tune /etc/rtadvd.conf.
OpenPOWER on IntegriCloud