diff --git a/conf/iw_devices b/conf/iw_devices index ffb2c17..1f4dff6 100644 --- a/conf/iw_devices +++ b/conf/iw_devices @@ -17,4 +17,4 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -echo -n $(iw dev | grep Interface | grep -v 'mon\.' | grep -v hotspot | awk '{ print $NF }') | tr ' ' \| +echo -n $(/sbin/iw dev | grep Interface | grep -v 'mon\.' | grep -v hotspot | awk '{ print $NF }') | tr ' ' \| diff --git a/conf/iw_multissid b/conf/iw_multissid index d3f9b1a..66ab148 100644 --- a/conf/iw_multissid +++ b/conf/iw_multissid @@ -17,8 +17,8 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -phy=$(iw "${1}" info | grep wiphy | awk '{ print $NF }') -multissid=$(iw "phy${phy}" info | grep -A1 'valid interface combinations' | tail -n1 | sed 's/.*{.*AP.*}\s<=\s\(.*\),.*/\1/') +phy=$(/sbin/iw "${1}" info | grep wiphy | awk '{ print $NF }') +multissid=$(/sbin/iw "phy${phy}" info | grep -A1 'valid interface combinations' | tail -n1 | sed 's/.*{.*AP.*}\s<=\s\(.*\),.*/\1/') if [ -z "${multissid}" ]; then echo 1 diff --git a/conf/iw_ssids b/conf/iw_ssids index 5c1c9d3..f4c8d1e 100644 --- a/conf/iw_ssids +++ b/conf/iw_ssids @@ -17,4 +17,4 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -echo -n hotspot0 $(iw dev | grep Interface | grep hotspot | awk '{ print $NF }') | tr ' ' \| +echo -n hotspot0 $(/sbin/iw dev | grep Interface | grep hotspot | awk '{ print $NF }') | tr ' ' \|