1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

tools/dhcpv6-pd_ia: create /run/kea on startup

On Ubuntu KEA expects this directory to be present, but it is not
created automatically.
/run is also a tmpfs, so we have to create the directory after each
reboot.
This commit is contained in:
Benjamin Valentin 2022-02-17 18:15:10 +01:00
parent e58af6a876
commit 5476d74f53

View File

@ -113,4 +113,6 @@ class KeaServer(base.DHCPv6Server):
# workaround: Arch does not create that directory on first
# install
os.makedirs("/var/run/kea/")
# workaround: Ubuntu does not create that directory automatically
os.makedirs("/run/kea/", exist_ok=True)
super().run()