#!/bin/sh

apath=`echo $PATH|grep "zy-pkgs"`
if [ "${apath}" == "" ]; then
	. /etc/profile
fi

case "$1" in
	status)
		echo "Built-in"
		;;
		
	getlink)
		echo "SMART/storage_smart.html"
		;;
	start)
		smartd-runner.sh startup
		;;
	stop)
		killall smartd
		;;				
	startup)	
		smartd-runner.sh startup
		;;
	shutdown)	
		killall smartd
		;;		
	*)
		exit 0
		;;		
esac

exit 0
