cronie: fix service name in INSTALL/REMOVE scripts.
--HG-- extra : convert_revision : 46f44f888ee03f7edd463dbdc7572431755f2f8d
This commit is contained in:
parent
d406796eac
commit
a9b8499ac8
|
@ -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 $?
|
||||
|
|
|
@ -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 $?
|
||||
|
|
Loading…
Reference in New Issue
Block a user