#!/bin/sh
#If stop command is defined use it
if ! test -z "$MYCROFT_STOP_CMD"; then
	$MYCROFT_STOP_CMD
else
	# Use default git install
	cd "~/mycroft-core"|| exit
	./stop-mycroft.sh
fi
