#!/bin/sh /etc/rc.common # # Copyright (c) 2013, 2017-2018 Qualcomm Technologies, Inc. # All Rights Reserved. # Confidential and Proprietary - Qualcomm Technologies, Inc. # # 2013 Qualcomm Atheros, Inc. # # All Rights Reserved. # Qualcomm Atheros Confidential and Proprietary. START=55 USE_PROCD=1 RESPAWN_THRESHOLD=120 RESPAWN_TIMEOUT=5 RESPAWN_RETRIES=10 SERVICE_PATH="/usr/sbin/hyd" HYD_CONFIG_FILE_PREFIX="/tmp/hyd" # The stop_wifidown command is a special command that does not try to do # any locking in order to prevent deadlocks during a wifi down operation # that is actually part of a Wi-Fi interface restart. EXTRA_COMMANDS="stop_wifidown" EXTRA_HELP=<> "$configfile" } __hyd_cfg_nl_append() { local configfile=$2 echo "" >> "$configfile" echo "$1" >> "$configfile" } # __hyd_cfg_add_str