ubus: move /var/run/ubus.sock to /var/run/ubus/ubus.sock
This makes it possible to run ubus as non-root. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
parent
13efd05c1b
commit
13a4438b4e
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ OPTION(BUILD_LUA "build Lua plugin" ON)
|
|||
OPTION(BUILD_EXAMPLES "build examples" ON)
|
||||
|
||||
SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")
|
||||
SET(UBUS_UNIX_SOCKET "/var/run/ubus.sock")
|
||||
SET(UBUS_UNIX_SOCKET "/var/run/ubus/ubus.sock")
|
||||
SET(UBUS_MAX_MSGLEN 1048576)
|
||||
|
||||
ADD_DEFINITIONS( -DUBUS_UNIX_SOCKET="${UBUS_UNIX_SOCKET}")
|
||||
|
|
Loading…
Reference in a new issue