You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
517 B
Bash
22 lines
517 B
Bash
#!/bin/sh /etc/rc.common
|
|
#
|
|
# Copyright (c) 2017 Qualcomm Technologies, Inc.
|
|
#
|
|
# All Rights Reserved.
|
|
# Confidential and Proprietary - Qualcomm Technologies, Inc.
|
|
#
|
|
# Copyright (c) 2016, The Linux Foundation. All rights reserved.
|
|
#
|
|
|
|
START=15
|
|
|
|
boot() {
|
|
if [ -e "/var/run/wpa_supplicant-global.pid" ]
|
|
then
|
|
kill $(cat /var/run/wpa_supplicant-global.pid) &> /dev/null
|
|
rm /var/run/wpa_supplicant-global.pid &> /dev/null
|
|
fi
|
|
wpa_supplicant -g /var/run/wpa_supplicantglobal -B -P /var/run/wpa_supplicant-global.pid
|
|
}
|
|
|