diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | src/CMakeLists.txt | 6 | ||||
-rw-r--r-- | src/afm-main-daemon.c (renamed from src/af-usrd.c) | 4 |
3 files changed, 6 insertions, 6 deletions
@@ -1,4 +1,4 @@ -af-usrd +src/afm-main-daemon wgtpkg-installer wgtpkg-pack wgtpkg-sign diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 807d30d..75fc4f0 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -99,9 +99,9 @@ add_executable(wgtpkg-installer wgtpkg-installer.c) target_link_libraries(wgtpkg-installer wgtpkg wgt secwrp utils) -add_executable(af-usrd af-usrd.c) -target_link_libraries(af-usrd afm secwrp wgt utils) +add_executable(afm-main-daemon afm-main-daemon.c) +target_link_libraries(afm-main-daemon afm secwrp wgt utils) install(TARGETS wgtpkg-sign wgtpkg-pack wgtpkg-info wgtpkg-installer DESTINATION ${CMAKE_INSTALL_FULL_BINDIR}) -install(TARGETS af-usrd DESTINATION ${CMAKE_INSTALL_FULL_BINDIR}) +install(TARGETS afm-main-daemon DESTINATION ${CMAKE_INSTALL_FULL_BINDIR}) diff --git a/src/af-usrd.c b/src/afm-main-daemon.c index 0fa67f0..46a662d 100644 --- a/src/af-usrd.c +++ b/src/afm-main-daemon.c @@ -157,7 +157,7 @@ static int daemonize() int main(int ac, char **av) { - LOGAUTH("afdb-usrd"); + LOGAUTH("afm-main-daemon"); /* init random generator */ srandom((unsigned int)time(NULL)); @@ -184,7 +184,7 @@ int main(int ac, char **av) } /* init service */ - jbus = create_jbus(1, "/org/AGL/afm-main"); + jbus = create_jbus(1, "/org/AGL/afmMain"); if (!jbus) { ERROR("create_jbus failed"); return 1; |