3
echo "iface eth0 inet6 dhcp
4
accept_ra 1" | tee --append /etc/network/interfaces.d/eth0.cfg
6
echo "net.ipv6.conf.eth0.router_solicitation_delay = 10" | tee /etc/sysctl.d/30-eth0-rs-delay.conf
8
head -13 /sbin/dhclient-script | tee /tmp/dhclient-script
9
echo "new_ip6_prefixlen=128" | tee --append /tmp/dhclient-script
10
tail -n +14 /sbin/dhclient-script | tee --append /tmp/dhclient-script
11
mv /tmp/dhclient-script /sbin/dhclient-script