# # @@-COPYRIGHT-START-@@ # # Copyright (c) 2015-2018 Qualcomm Technologies, Inc. # # All Rights Reserved. # Confidential and Proprietary - Qualcomm Technologies, Inc. # # 2015-2016 Qualcomm Atheros, Inc. # # All Rights Reserved. # Qualcomm Atheros Confidential and Proprietary. # # @@-COPYRIGHT-END-@@ # . /lib/functions/whc-debug.sh . /lib/functions/whc-iface.sh # Append a config parameter to the file # input: $1 - parameter string to append (key and value) # input: $2 - filename to append to __lbd_cfg_append() { echo "$1" >> "$2" } # Append a config parameter to the file preceded by a newline # input: $1 - parameter string to append (key and value) # input: $2 - filename to append to __lbd_cfg_nl_append() { echo "" >> "$2" echo "$1" >> "$2" } # __lbd_cfg_add_str