diff -U3 ethernet.orig ethernet --- ethernet.orig 2011-08-09 01:29:16.000000000 +0300 +++ ethernet 2011-08-13 18:53:30.977442700 +0300 @@ -127,6 +127,8 @@ done fi + +if [ -d /proc/sys/net/ipv6 ]; then # Verify to IPv6 loaded case "$IP6" in dhcp*) if [[ -x /usr/sbin/dhclient ]]; then @@ -185,6 +187,7 @@ report_iproute "IP6 must be 'dhcp', 'dhcp-noaddr', 'stateless', 'static' or 'no'" ;; esac +fi # Set hostname if [[ -n "$HOSTNAME" ]]; then