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:
parent
e58af6a876
commit
5476d74f53
2
dist/tools/dhcpv6-pd_ia/kea.py
vendored
2
dist/tools/dhcpv6-pd_ia/kea.py
vendored
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user