]>
git.ipfire.org Git - thirdparty/hostap.git/blob - wpa_supplicant/wpa_supplicant_conf.sh
3 # Copyright (C) 2010 The Android Open Source Project
5 # This software may be distributed under the terms of the BSD license.
6 # See README for more details.
9 # Generate a wpa_supplicant.conf from the template.
10 # $1: the template file name
11 if [ -n "$WIFI_DRIVER_SOCKET_IFACE" ]
13 sed -e 's/#.*$//' -e 's/[ \t]*$//' -e '/^$/d' < $1 |
sed -e "s/wlan0/$WIFI_DRIVER_SOCKET_IFACE/"
15 sed -e 's/#.*$//' -e 's/[ \t]*$//' -e '/^$/d' < $1