bundles/wide-dhcp6c: introduce, add to home.router

This commit is contained in:
Franzi 2020-11-14 11:34:16 +01:00
parent 6b4eae842b
commit fa224a9939
Signed by: kunsi
GPG key ID: 12E3D2136B818350
7 changed files with 132 additions and 0 deletions

View file

@ -0,0 +1,10 @@
#!/bin/bash
systemctl stop wide-dhcpv6-client
% for interface, subnet_id in sorted(targets.items()):
for IP in $(ip -6 addr show dev ${interface} | grep inet6 | awk '{print $2}' | grep -vF 'fe80::')
do
ip -6 addr del $IP dev ${interface}
done
% endfor