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=4ec5d5f4a0a407340f44e06e5b187053782a0470;hpb=0ac08580d5068bc343f757be0a6f8b2d8e370233 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)