]>
Commit | Line | Data |
---|---|---|
cd1a2927 MT |
1 | #!/bin/bash |
2 | # | |
3 | # | |
4 | ||
5 | aliases=`/sbin/modprobe -c | awk '/^alias usb-controller/ { print $3 }'` | |
6 | if [ -n "$aliases" -a "$aliases" != "off" ] ; then | |
7 | for alias in $aliases ; do | |
8 | [ "$alias" != "off" ] && /sbin/modprobe -r $alias | |
9 | done | |
10 | /bin/sleep 2 | |
11 | for alias in $aliases ; do | |
12 | [ "$alias" != "off" ] && /sbin/modprobe $alias | |
13 | done | |
14 | fi | |
15 | /bin/sleep 6 |