	#!/bin/sh
	[ -n "${IPKG_INSTROOT}" ] && exit 0	# if run within buildroot exit

	# stop service if PKG_UPGRADE
	[ "${PKG_UPGRADE}" = "1" ] && /etc/init.d/radicale stop >/dev/null 2>&1

	exit 0	# suppress errors from stop command
