source:
freewrt/package/broadcom-wl-util/files/wireless-broadcom.post-down@
be06a8e
| Last change on this file since be06a8e was be06a8e, checked in by , 19 years ago | |
|---|---|
|
|
| File size: 279 bytes | |
| Line | |
|---|---|
| 1 | #!/bin/sh |
| 2 | # |
| 3 | # Wireless configuration script |
| 4 | # Copyright (c) 2006 Dirk Nehring <dnehring@freewrt.org> |
| 5 | # |
| 6 | [ "$IF_WIRELESS_TYPE" != "broadcom" ] && exit 0 |
| 7 | |
| 8 | wl mac none |
| 9 | wl radio off |
| 10 | wl down |
| 11 | |
| 12 | pid="$(cat /var/run/nas.lan.pid 2>&-)" |
| 13 | [ -n "$pid" -a -d "/proc/$pid" ] && kill $pid |
| 14 | |
| 15 | exit 0 |
Note:
See TracBrowser
for help on using the repository browser.
