3
# Increase the firmware loading timeout while we're doing this
4
# Otherwise, swap thrash tends to lead to failure to start
5
if [ -f /sys/class/firmware/timeout ]; then
6
timeout=`cat /sys/class/firmware/timeout`
7
echo 100 >/sys/class/firmware/timeout
10
# Load any drivers that we removed
15
# And reset the firmware timeout
16
if [ -f /sys/class/firmware/timeout ]; then
17
echo $timeout >/sys/class/firmware/timeout
20
# And bring back PCMCIA code
21
[ -x /sbin/pccardctl ] && pccardctl insert