Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 236c7060 authored by Kangping Dong's avatar Kangping Dong
Browse files

[Thread] create dir /dev/socket/ot-daemon

ot-daemon may use multiple unix sockets so create a dir for it.

Bug: 320451788
Test: verified that ot-daemon can create socket
/dev/socket/ot-daemon/thread-wpan.sock

Change-Id: I43ccb11ed664cf0d59fc02e2efc721ed7284e2a0
parent 80b2bf16
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -109,6 +109,9 @@ on init
    symlink /proc/self/fd/1 /dev/stdout
    symlink /proc/self/fd/2 /dev/stderr

    # Create socket dir for ot-daemon
    mkdir /dev/socket/ot-daemon 0770 thread_network thread_network

    # Create energy-aware scheduler tuning nodes
    mkdir /dev/stune/foreground
    mkdir /dev/stune/background