#!/bin/sh

if rc-status -a | grep -q crond; then
	cat >&2 <<-EOF
	*
	* you have installed the cronie openrc service,
	* but the "crond" service is detected as running/enabled.
	* if you wish to use cronie, ensure that you remove the "crond"
	* service:
	*  rc-update del crond
	* and enable the "cronie" service:
	*  rc-update add cronie
	* keeping cronie installed while using the "crond" service
	* will instead start cronie with potentially different arguments
	* than expected.
	EOF
fi
