mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
add qca feed
This commit is contained in:
parent
d43ffd8720
commit
26ac03f3f6
451 changed files with 111139 additions and 12069 deletions
21
qaa/qca/net/qca-wifi/files/diag_socket_app
Normal file
21
qaa/qca/net/qca-wifi/files/diag_socket_app
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#!/bin/sh /etc/rc.common
|
||||
#
|
||||
# Copyright (c) 2017 Qualcomm Technologies, Inc.
|
||||
#
|
||||
# All Rights Reserved.
|
||||
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
||||
|
||||
START=98
|
||||
|
||||
start_diag_app()
|
||||
{
|
||||
local serverip=`grep -oh "serverip.*#" /proc/cmdline | awk -F '#' '{print $2}'`
|
||||
/usr/sbin/diag_socket_app -a $serverip &
|
||||
echo "/usr/sbin/diag_socket_app started" > /dev/kmsg
|
||||
}
|
||||
|
||||
start() {
|
||||
is_ftm=`grep wifi_ftm_mode /proc/cmdline | wc -l`
|
||||
[ $is_ftm = 1 ] && start_diag_app
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue