Fixed path for wpa_passphrase; added rfkill in kernel

This commit is contained in:
Giulio 2020-09-19 14:34:59 +02:00
parent 995cf095bf
commit ac280d0490
2 changed files with 2 additions and 1 deletions

View File

@ -314,6 +314,7 @@ CONFIG_USB_NET_QMI_WWAN=m
CONFIG_BRCMFMAC=m CONFIG_BRCMFMAC=m
CONFIG_BRCMFMAC_PCIE=y CONFIG_BRCMFMAC_PCIE=y
CONFIG_HOSTAP=y CONFIG_HOSTAP=y
CONFIG_RFKILL=y
CONFIG_RTL_CARDS=m CONFIG_RTL_CARDS=m
# CONFIG_WLAN_VENDOR_TI is not set # CONFIG_WLAN_VENDOR_TI is not set
CONFIG_XEN_NETDEV_BACKEND=m CONFIG_XEN_NETDEV_BACKEND=m

View File

@ -6,6 +6,6 @@ if [ "$#" -ne 2 ]; then
fi fi
/bin/echo "ctrl_interface=/var/run/wpa_supplicant" > /etc/wpa_supplicant.conf /bin/echo "ctrl_interface=/var/run/wpa_supplicant" > /etc/wpa_supplicant.conf
/usr/bin/wpa_passphrase "$1" "$2" >> /etc/wpa_supplicant.conf /usr/sbin/wpa_passphrase "$1" "$2" >> /etc/wpa_supplicant.conf
/usr/sbin/wpa_supplicant -B -i client0 -c /etc/wpa_supplicant.conf /usr/sbin/wpa_supplicant -B -i client0 -c /etc/wpa_supplicant.conf
/sbin/udhcpc -i client0 /sbin/udhcpc -i client0