pmqos: Rename the pmqos filename from 'pmqos.conf' to 'pass-pmqos.conf' 52/113052/1
authorChanwoo Choi <cw00.choi@samsung.com>
Sat, 4 Feb 2017 11:10:12 +0000 (20:10 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 6 Feb 2017 01:31:15 +0000 (10:31 +0900)
This patch just renames the file of pmqos configuration file
to keep the consistency of the format of pass configuration file.

Change-Id: Ib195e698c389ff5f044b8b3bad5cc27600ceb5ad
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
CMakeLists.txt
packaging/pass.spec
src/pmqos/pass-pmqos.conf [moved from src/pmqos/pmqos.conf with 100% similarity]
src/pmqos/pmqos.c

index b2b683a..2116f1b 100644 (file)
@@ -158,7 +158,7 @@ INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/pass/pass-cluster1.conf DESTINATIO
 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/pass/pass-cluster2.conf DESTINATION /etc/pass)
 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/pass/pass-cluster3.conf DESTINATION /etc/pass)
 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/pass/pass-cluster4.conf DESTINATION /etc/pass)
-INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/pmqos/pmqos.conf DESTINATION /etc/pass)
+INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/pmqos/pass-pmqos.conf DESTINATION /etc/pass)
 
 CONFIGURE_FILE(${PROJECT_NAME}.pc.in ${PROJECT_NAME}.pc @ONLY)
 INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
index d87e4dd..07677d2 100644 (file)
@@ -117,7 +117,7 @@ systemctl daemon-reload
 %config %{_sysconfdir}/pass/pass-cluster2.conf
 %config %{_sysconfdir}/pass/pass-cluster3.conf
 %config %{_sysconfdir}/pass/pass-cluster4.conf
-%config %{_sysconfdir}/pass/pmqos.conf
+%config %{_sysconfdir}/pass/pass-pmqos.conf
 %{_bindir}/%{daemon_name}
 %{_unitdir}/multi-user.target.wants/%{daemon_name}.service
 %{_unitdir}/sockets.target.wants/%{daemon_name}.socket
index dff3894..395a513 100644 (file)
@@ -34,7 +34,7 @@
 
 #define DEFAULT_PMQOS_TIMER            3000
 
-#define PMQOS_CONF_PATH                "/etc/pass/pmqos.conf"
+#define PMQOS_CONF_PATH                "/etc/pass/pass-pmqos.conf"
 #define MILLISECONDS(tv)       ((tv.tv_sec)*1000 + (tv.tv_nsec)/1000000)
 #define DELTA(a, b)            (MILLISECONDS(a) - MILLISECONDS(b))