X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=scripts.git;a=blobdiff_plain;f=hotspot.sh;h=a8a27ae5e550cfa4835c80b875fccc64d63a5069;hp=adcebb9e7ad8176e14032e0dfc21924aeff606de;hb=22ad92b9f8cf9f726ff9b9caa530ecf13d35fc87;hpb=6a45dbe664eebcb3050d0c3dfe9856f7c5815aca 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)