X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=hotspot.sh;h=a8a27ae5e550cfa4835c80b875fccc64d63a5069;hb=ffe6c2b94c700aa9105a6c1b6a0b86853d74cd88;hp=adcebb9e7ad8176e14032e0dfc21924aeff606de;hpb=6a45dbe664eebcb3050d0c3dfe9856f7c5815aca;p=scripts.git diff --git a/hotspot.sh b/hotspot.sh index adcebb9..a8a27ae 100755 --- a/hotspot.sh +++ b/hotspot.sh @@ -17,7 +17,10 @@ # Contact for comments & bug reports # ######################################################################### -INTERFACE=wlan0 +INTERFACE=${WIFI_INTERFACE} + +[[ ${INTERFACE} ]] || INTERFACE=wlan0 + MTU=512 SCAN_OUTPUT=$(mktemp /tmp/scanresult.XXXXXX)