#!/bin/sh
#
# Copyright (c) Tadpole Technology PLC.
#

killproc() {            # kill the named process(es)
        pid=`/usr/bin/ps -e |
             /usr/bin/grep $1 |
             /usr/bin/sed -e 's/^  *//' -e 's/ .*//'`
        [ "$pid" != "" ] && kill $pid
}
 
PATH="/usr/bin:/usr/sbin:${PATH}"
export PATH

#
# Unload power managed devices
#
if [ "$ROOTDIR" = "/" ] ; then
        killproc powerd
fi

exit 0
