#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.

touch /var/lock/subsys/local

# unload ipw2100 - so the radio turns off - network startup
# loads it even though eth1 isn't started on boot - to preserve
# device ordering - i guess - and that turns on the radio
                                                                                                   
if awk '{print $1}' /proc/modules | grep -q ipw2100
then
    /sbin/initlog -n "$0" -s "unloading ipw2100"
    /sbin/initlog -c "/sbin/rmmod ipw2100"
fi