mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2026-01-27 17:37:17 +01:00
Register wifidmd as unified daemon
This commit is contained in:
parent
4d520ceb62
commit
cb75a1e027
4 changed files with 7 additions and 5 deletions
|
|
@ -8,7 +8,7 @@ command=/bin/bash -c "/usr/bin/valgrind --xml=yes --xml-file=/tmp/memory-netmngr
|
||||||
|
|
||||||
[program:wifidmd]
|
[program:wifidmd]
|
||||||
priority=7
|
priority=7
|
||||||
command=/bin/bash -c "/usr/bin/valgrind --xml=yes --xml-file=/tmp/memory-wifidmd-report.xml --leak-check=full --show-reachable=yes --show-leak-kinds=all --errors-for-leak-kinds=all --error-exitcode=1 --track-origins=yes --leak-resolution=high --show-error-list=yes --child-silent-after-fork=yes /usr/sbin/dm-service -m wifidmd"
|
command=/bin/bash -c "/usr/bin/valgrind --xml=yes --xml-file=/tmp/memory-wifidmd-report.xml --leak-check=full --show-reachable=yes --show-leak-kinds=all --errors-for-leak-kinds=all --error-exitcode=1 --track-origins=yes --leak-resolution=high --show-error-list=yes --child-silent-after-fork=yes /usr/sbin/wifidmd"
|
||||||
|
|
||||||
[program:core]
|
[program:core]
|
||||||
priority=8
|
priority=8
|
||||||
|
|
|
||||||
|
|
@ -98,10 +98,10 @@ function install_wifidmd_as_micro_service()
|
||||||
{
|
{
|
||||||
[ -d "/opt/dev/wifidmd" ] && return 0
|
[ -d "/opt/dev/wifidmd" ] && return 0
|
||||||
|
|
||||||
exec_cmd git clone -b devel https://dev.iopsys.eu/bbf/wifidmd.git /opt/dev/wifidmd
|
exec_cmd git clone https://dev.iopsys.eu/bbf/wifidmd.git /opt/dev/wifidmd
|
||||||
|
|
||||||
exec_cmd make -C /opt/dev/wifidmd/src/ clean && make -C /opt/dev/wifidmd/src/ CFLAGS="-D'BBF_VENDOR_PREFIX=\"X_IOWRT_EU_\"'" WIFIDMD_WIFI_DATAELEMENTS='y'
|
exec_cmd make -C /opt/dev/wifidmd/src/ clean && make -C /opt/dev/wifidmd/src/ WIFIDMD_ENABLE_WIFI_DATAELEMENTS='y'
|
||||||
install_ms /opt/dev/wifidmd/src/libwifi.so wifidmd
|
exec_cmd cp -f /opt/dev/wifidmd/src/wifidmd /usr/sbin/
|
||||||
}
|
}
|
||||||
|
|
||||||
function install_libeasy()
|
function install_libeasy()
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
"daemon": {
|
"daemon": {
|
||||||
"enable": "1",
|
"enable": "1",
|
||||||
"service_name": "wifidmd",
|
"service_name": "wifidmd",
|
||||||
"unified_daemon": false,
|
"unified_daemon": true,
|
||||||
"services": [
|
"services": [
|
||||||
{
|
{
|
||||||
"parent_dm": "Device.",
|
"parent_dm": "Device.",
|
||||||
|
|
|
||||||
|
|
@ -358,10 +358,12 @@
|
||||||
"proto": "git",
|
"proto": "git",
|
||||||
"version": "devel",
|
"version": "devel",
|
||||||
"dm_files": [
|
"dm_files": [
|
||||||
|
"src/wifidmd.c",
|
||||||
"src/wifi.c",
|
"src/wifi.c",
|
||||||
"src/dataelements.c"
|
"src/dataelements.c"
|
||||||
],
|
],
|
||||||
"extra_dependencies": [
|
"extra_dependencies": [
|
||||||
|
"-DWIFIDMD_ENABLE_WIFI_DATAELEMENTS",
|
||||||
"-lm"
|
"-lm"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue