projects
/
project
/
ubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13efd05
)
ubus: move /var/run/ubus.sock to /var/run/ubus/ubus.sock
author
Daniel Golle
<daniel@makrotopia.org>
Mon, 19 Oct 2020 14:14:47 +0000
(15:14 +0100)
committer
Daniel Golle
<daniel@makrotopia.org>
Mon, 19 Oct 2020 15:21:21 +0000
(16:21 +0100)
This makes it possible to run ubus as non-root.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 5c0f760d031cb2bc875b36e2c1ab6751cc927d4b..117f0a37aa71960abb8b4a4f7a53c7c91757af72 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-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}")