hosts/carbon: Renew delegated IPv6 prefixes on ppp reconnect
This commit is contained in:
parent
60376e7688
commit
ee5d2330c5
@ -76,4 +76,13 @@
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
environment.etc."ppp/ipv6-up" = {
|
||||||
|
text = ''
|
||||||
|
#!${pkgs.runtimeShell}
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
${pkgs.dhcpcd}/bin/dhcpcd --renew $1
|
||||||
|
'';
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user