#!/bin/sh -e

# It turns out that sysctl knobs under net.ipv{4,6}.conf.all.*, unless
# explicitly documented, are not taken into account at all. So if there are
# existing interfaces by the time sysctl knobs are set, the only to apply those
# knobs are setting it interface-per-interface...

for ipv6_conf in /proc/sys/net/ipv6/conf/*; do
    # /usr/lib/sysctl.d/10-lxc-android-config.conf
    echo 0 >"${ipv6_conf}/accept_ra_defrtr"
done
