From a9b8499ac87ac327a9476df804018ca8390d6de1 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 4 May 2009 22:30:13 +0200 Subject: [PATCH] cronie: fix service name in INSTALL/REMOVE scripts. --HG-- extra : convert_revision : 46f44f888ee03f7edd463dbdc7572431755f2f8d --- templates/cronie/INSTALL | 2 +- templates/cronie/REMOVE | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 $?