diff --git a/templates/cronie/INSTALL b/templates/cronie/INSTALL index 0afe0b687b4..1466d7fdf46 100644 --- a/templates/cronie/INSTALL +++ b/templates/cronie/INSTALL @@ -10,7 +10,7 @@ post) [ ! -x sbin/rc-update ] && exit 0 [ ! -x sbin/rc-service ] && exit 0 - if sbin/rc-service -e udev; then + if sbin/rc-service -e crond; then echo "Registering ${PKGNAME} OpenRC service..." sbin/rc-update add crond default [ $? -ne 0 ] && exit $? diff --git a/templates/cronie/REMOVE b/templates/cronie/REMOVE index 449bb385b8d..d974cb3f2e0 100644 --- a/templates/cronie/REMOVE +++ b/templates/cronie/REMOVE @@ -8,7 +8,7 @@ pre) [ ! -x sbin/rc-update ] && exit 0 [ ! -x sbin/rc-service ] && exit 0 - if sbin/rc-service -e udev; then + if sbin/rc-service -e crond; then echo "Unregistering ${PKGNAME} OpenRC service..." sbin/rc-update del crond default [ $? -ne 0 ] && exit $?