Linux.com

Important note on "wlanconfig ath0 destroy"

Posted by: Anonymous [ip: 213.123.170.12] on November 17, 2007 11:21 PM
Instead of ..
wlanconfig ath0 destroy
... you should use ...

wlanconfig ath0 destroy || true

Doing so, you will avoid failure in case ath0 is already down.
Otherwise, this command will fail and the process of bringing up ath0 will be interrupted.

#

Return to Create a secure Linux-based wireless access point