ar71xx: ag71xx: make switch register access atomic
[openwrt.git] / package / broadcom-wl / files / etc / init.d / wlunbind
1 #!/bin/sh /etc/rc.common
2 # Copyright (C) 2010 OpenWrt.org
3
4 START=09
5
6 boot() {
7 local sysfs=/sys/bus/pci/drivers/b43-pci-bridge
8 if [ -d "$sysfs" ]; then
9 local lnk
10 for lnk in $sysfs/*; do
11 [ -h "$lnk" ] || continue
12 case "${lnk##*/}" in
13 *:*:*.*)
14 logger "Unbinding WL PCI device ${lnk##*/} from B43 SSB bridge"
15 echo -n "${lnk##*/}" > "$sysfs/unbind"
16 ;;
17 esac
18 done
19 fi
20 }
21
22 start() { :; }
23 stop() { :; }
This page took 0.048052 seconds and 5 git commands to generate.