#!/bin/bash
# the input argu is your module name
# example1 : sh unload sdmmc.o
# example2 : sd unload msmspro.o
# cheng tsair-jinn <jinncheng@skymedo.com.tw>
#############################################################################
module_file=$1
#############################################################################
# install module 
#
result=`/sbin/rmmod $module_file`
if $result
then
	echo "rmmod "${module_file}" ok"
else
	echo "rmmod "${module_file}" fail"
	exit 0
fi
exit 1
