#!/bin/sh

case "$1" in
start)
	[ -x /usr/local/bin/rxstack ] && /usr/local/bin/rxstack -d && \
		echo -n "Starting Regina Stack"
	;;
stop)
	killall rxstack && echo -n "Shutting down Regina Stack"
	;;
esac


syntax highlighted by Code2HTML, v. 0.9.1