#!/bin/sh
# check if we are on real system
if [ -z "${IPKG_INSTROOT}" ]; then
	/etc/init.d/ostiaryd stop
	echo "Removing rc.d symlink for ostiaryd"
	/etc/init.d/ostiaryd disable
	echo "Any config backups and scripts you created are not removed automatically."
	echo "To finish cleanup, backup any files you want to keep, then run rm -f /etc/ostiaryd"
fi
exit 0
