#!/bin/sh
# $NetBSD$

if [ "$1" = "none" ]; then
	echo "None selected, no action taken"
	exit 0
fi

/etc/rc.d/$1 stop
if [ "$?" != "0" ]; then
	echo "Failed to stop $1"
fi
