Fix more syntax errors
This commit is contained in:
parent
3c5711e5c1
commit
9a86fe14ad
4
mon
4
mon
@ -86,10 +86,10 @@ ip link set "$iface" up
|
||||
if [[ -f "hostapd-wpe.conf" ]]; then
|
||||
echo "[+] Found hostapd-wpe.conf in the current directory. Using it."
|
||||
# Import channel variable only
|
||||
source <(grep -E '^[[:space:]]*channel[[:space:]]*=' hostapd-wpe.conf
|
||||
source <(grep -E '^[[:space:]]*channel[[:space:]]*=' hostapd-wpe.conf)
|
||||
else
|
||||
echo "[!] hostapd-wpe.conf not found in the current directory. Using the default: /etc/hostapd-wpe/hostapd-wpe.conf"
|
||||
source <(grep -E '^[[:space:]]*channel[[:space:]]*=' /etc/hostapd-wpe/hostapd-wpe.conf
|
||||
source <(grep -E '^[[:space:]]*channel[[:space:]]*=' /etc/hostapd-wpe/hostapd-wpe.conf)
|
||||
fi
|
||||
|
||||
# Start monitoring
|
||||
|
Loading…
x
Reference in New Issue
Block a user