#!/bin/sh

. /etc/rc.common

StartService ()
{
	ConsoleMessage "Starting Unlockupd"
	/usr/local/bin/unlockupd&
}

StopService ()
{
	ConsoleMessage "Stopping Unlockupd"
	/usr/bin/killall -9  unlockupd 
}

RestartService ()
{
	ConsoleMessage "Restarting Unlockupd"
	StopService
	StartService
}

RunService "$1"
