5 WLAN
=`iwconfig 2>/dev/null |grep IEEE |cut -d' ' -f1| head -n1`
7 if [ ! -e /etc
/wifi-radar.conf
]; then
8 echo "[DEFAULT]" >> /etc
/wifi-radar.conf
9 echo "interface = $WLAN" >> /etc
/wifi-radar.conf
10 echo "speak_up = False" >> /etc
/wifi-radar.conf
11 echo "scan_timeout = 5" >> /etc
/wifi-radar.conf
12 echo "commit_required = False" >> /etc
/wifi-radar.conf
13 echo "ifup_required = False" >> /etc
/wifi-radar.conf
14 echo "auto_profile_order =" >> /etc
/wifi-radar.conf
16 chmod 600 /etc
/wifi-radar.conf
18 update-rc.d wifi-radar defaults
>/dev
/null