diff --git a/CMakeLists.txt b/CMakeLists.txt index 5c0f760..117f0a3 100644 --- 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}")