hostapd: start hostapd/wpa_supplicant for all wiphy devices
[openwrt/staging/mkresin.git] / package / network / services / hostapd / files / hostapd.hotplug
index c319d42c1a6e17154b11af804fb0ba6767abace0..2c936fde7515cfdbb64de336df25643186e0fe29 100644 (file)
@@ -21,7 +21,7 @@ service_data() {
 
 procd_open_service hostapd
 
-for phy in phy*; do
+for phy in *; do
        [ -d "$phy" ] || continue
 
        mkdir -p /var/run/wpa_supplicant-$phy /var/run/hostapd-$phy