aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2015-12-21 23:16:49 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2015-12-21 23:18:51 +0100
commit7aa5eff9767662e54684254f736ba009ebea2561 (patch)
treec392b83b736444cc80a3e35f4c130f80c90c9f47
parentb935f436eac995b139de16cce25843527768483e (diff)
Renamings
Change-Id: I747d8f6d92b4fcb045439c1ed7b84d0e3d234937
-rw-r--r--.gitignore2
-rw-r--r--src/CMakeLists.txt6
-rw-r--r--src/afm-main-daemon.c (renamed from src/af-usrd.c)4
3 files changed, 6 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore
index 312f525..c959628 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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;