/[baselayout]/trunk/net.BSD/iwconfig.sh
Gentoo

Diff of /trunk/net.BSD/iwconfig.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 2565 Revision 2566
143 ;; 143 ;;
144 *I*) 144 *I*)
145 mode="adhoc" 145 mode="adhoc"
146 if ! LC_ALL=C ifconfig "${IFACE}" | \ 146 if ! LC_ALL=C ifconfig "${IFACE}" | \
147 grep -q "^[[:space:]]*media: .*adhoc" ; then 147 grep -q "^[[:space:]]*media: .*adhoc" ; then
148 ifconfig "${IFACE}" down -mediaopt adhoc up 148 ifconfig "${IFACE}" down mediaopt adhoc up
149 fi 149 fi
150 ;; 150 ;;
151 *) 151 *)
152 if LC_ALL=C ifconfig "${IFACE}" \ 152 if LC_ALL=C ifconfig "${IFACE}" \
153 | grep -q "^[[:space:]]*media: .*adhoc" ; then 153 | grep -q "^[[:space:]]*media: .*adhoc" ; then

Legend:
Removed from v.2565  
changed lines
  Added in v.2566

  ViewVC Help
Powered by ViewVC 1.1.20