diff --git a/mon b/mon index a3f4e17..edd8ad5 100755 --- a/mon +++ b/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