Fix syntax error
This commit is contained in:
parent
e8c57ba19e
commit
3c5711e5c1
1
mon
1
mon
@ -87,7 +87,6 @@ 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
|
||||
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user