#!/bin/sh

##
# Load ShhMBP
#
##

. /etc/rc.common

StartService() {

	if [ -x "/Applications/Utilities/ShhMBP/Resources/ShhMBP.kext" ]
	then
		ConsoleMessage "Starting up ShhMBP"
		chown -R root:wheel "/Applications/Utilities/ShhMBP/Resources/ShhMBP.kext"
		kextload "/Applications/Utilities/ShhMBP/Resources/ShhMBP.kext"
	fi
}

StopService() {
    ConsoleMessage "Stopping ShhMBP"
    kextunload "/Applications/Utilities/ShhMBP/Resources/ShhMBP.kext"
} 


RestartService () { StopService; StartService; }

RunService "$1"
