From 12e61fdede7553a791f0f5e706e3c79d9b716e11 Mon Sep 17 00:00:00 2001 From: Gregory DAVID Date: Fri, 21 Jun 2024 10:50:44 +0200 Subject: [PATCH] wifi: `/usr/sbin` is not mandatory for normal user in Debian Since `iw` lands in `/usr/sbin` in Debian, we just have to make sure that the binary is reachable, at last. --- wifi/wifi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wifi/wifi b/wifi/wifi index 258ac8ce..aa66f2f0 100755 --- a/wifi/wifi +++ b/wifi/wifi @@ -14,6 +14,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . +PATH="$PATH:/usr/sbin" + #------------------------------------------------------------------------ if [[ -z "$INTERFACE" ]] ; then INTERFACE="${BLOCK_INSTANCE:-wlan0}"