mirror of
https://github.com/armbian/config.git
synced 2026-01-06 09:53:35 -08:00
Quick patch for hostapd.
We want to install it only when needed, but since we are reworking this tool a quick fix as this one should do
This commit is contained in:
@@ -180,6 +180,7 @@ while true; do
|
||||
LIST+=( "IP" "Select dynamic or edit static IP address" )
|
||||
|
||||
# hostapd
|
||||
sudo apt-get -y -qq install hostapd > /dev/null
|
||||
HOSTAPDBRIDGE=$(cat /etc/hostapd.conf 2> /dev/null | grep -w "^bridge=br0")
|
||||
HOSTAPDSTATUS=$(service hostapd status 2> /dev/null | grep -w active | grep -w running)
|
||||
if [[ -n "$HOSTAPDSTATUS" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user