# Copyright 1993 Sun Microsystems, Inc.  All Rights Reserved.
#
# Copyright 1993 Sun Microsystems, Inc. All Rights Reserved
#
# preremove: SunLink BSC drivers
#

pidproc() {
pid=`/usr/bin/ps -e | /usr/bin/grep $1 | /usr/bin/sed -e's/^ *//' -e's/ .*//'`
}

pidproc bsc3274
[ "$pid" != "" ] && kill -HUP $pid

/usr/sbin/modunload -i 0
exit 0
