1
0
Fork 0
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:
suyuan 2022-09-10 05:47:47 +08:00
parent d43ffd8720
commit 26ac03f3f6
451 changed files with 111139 additions and 12069 deletions

View 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
}