|
|
@ -238,7 +238,8 @@ function patch_system_files() {
|
|
|
|
"/bin/cp /tmp/wifidata /etc/wpa_supplicant/wpa_supplicant-wlan[0-9].conf"
|
|
|
|
"/bin/cp /tmp/wifidata /etc/wpa_supplicant/wpa_supplicant-wlan[0-9].conf"
|
|
|
|
"/sbin/wpa_cli -i wlan[0-9] scan_results"
|
|
|
|
"/sbin/wpa_cli -i wlan[0-9] scan_results"
|
|
|
|
"/sbin/wpa_cli -i wlan[0-9] scan"
|
|
|
|
"/sbin/wpa_cli -i wlan[0-9] scan"
|
|
|
|
"/sbin/wpa_cli reconfigure"
|
|
|
|
"/sbin/wpa_cli -i wlan[0-9] reconfigure"
|
|
|
|
|
|
|
|
"/sbin/wpa_cli -i wlan[0-9] select_network"
|
|
|
|
"/bin/cp /tmp/hostapddata /etc/hostapd/hostapd.conf"
|
|
|
|
"/bin/cp /tmp/hostapddata /etc/hostapd/hostapd.conf"
|
|
|
|
"/etc/init.d/hostapd start"
|
|
|
|
"/etc/init.d/hostapd start"
|
|
|
|
"/etc/init.d/hostapd stop"
|
|
|
|
"/etc/init.d/hostapd stop"
|
|
|
|