mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2025-10-10 09:28:04 +00:00
fix scripts for various v2 issues
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
#On the V2, for some reason iCamera runs "sh -c iwlist wlan0 scan | grep 'ESSID:"<your wifi ssid>"' every 5 seconds.
|
||||
#Let's fake the output to reduce load
|
||||
#Let's fake the output, and increase put some sleep in to increase the "scan" times to every xx seconds to reduce load
|
||||
|
||||
ssid=$(cat /tmp/wpa_supplicant.conf | grep "ssid=\"" | cut -d'"' -f 2)
|
||||
|
||||
echo -e " ESSID:\""$ssid"\"\n"
|
||||
|
||||
sleep 30
|
||||
sleep 60
|
||||
|
||||
exit 0
|
||||
|
Reference in New Issue
Block a user