--- elwix/config/etc/default/rc.d/011.adhoc.stop 2015/03/05 22:31:59 1.2.18.1 +++ elwix/config/etc/default/rc.d/011.adhoc.stop 2015/03/05 23:12:47 1.2.18.2 @@ -16,6 +16,7 @@ WIFIOPTS="" OPTS="" IP="172.31.1.1/30" +IP6="" [ -z "$IFACE" -o -z "$WIFIDEV" ] && exit @@ -42,6 +43,9 @@ if [ -n "$SSID" ]; then fi if [ -n "$IP" ]; then ifconfig $IFACE inet $IP +fi +if [ -n "$IP6" ]; then + ifconfig $IFACE inet6 $IP6 fi ifconfig $IFACE $OPTS up