version 1.140, 2014/07/12 10:14:03 |
version 1.141, 2014/07/12 14:39:31 |
|
|
|
|
if [ "$ip6kernel" = "YES" -a "x$rtsolif" != "x" ]; then |
if [ "$ip6kernel" = "YES" -a "x$rtsolif" != "x" ]; then |
fw=`sysctl -n net.inet6.ip6.forwarding` |
fw=`sysctl -n net.inet6.ip6.forwarding` |
ra=`sysctl -n net.inet6.ip6.accept_rtadv` |
if [ "x$fw" = "x0" ]; then |
if [ "x$fw" = "x0" -a "x$ra" = "x1" ]; then |
|
echo "IPv6 autoconf:$rtsolif" |
echo "IPv6 autoconf:$rtsolif" |
rtsol $rtsolif |
rtsol $rtsolif |
else |
else |
echo "WARNING: inconsistent config - check /etc/sysctl.conf for IPv6 autoconf" |
echo "IPv6 autoconf not supported while IPv6 forwarding is enabled" |
fi |
fi |
fi |
fi |
|
|