From cb9b7d2e67c97f991c7bf6d21e62928f8d692918 Mon Sep 17 00:00:00 2001 From: Sergej Pupykin Date: Thu, 25 Aug 2011 14:24:50 +0400 Subject: [PATCH] avoid error message if ipv6 disabled in kernel --- src/connections/ethernet | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/connections/ethernet b/src/connections/ethernet index f9c660c..466b669 100644 --- a/src/connections/ethernet +++ b/src/connections/ethernet @@ -179,7 +179,7 @@ ethernet_up() { fi ;; ""|no) - sysctl -q -w net.ipv6.conf.$INTERFACE.accept_ra=0 + sysctl -e -q -w net.ipv6.conf.$INTERFACE.accept_ra=0 ;; *) report_iproute "IP6 must be 'dhcp', 'dhcp-noaddr', 'stateless', 'static' or 'no'" -- 1.7.6.1