--- rc.crond.orig 2005-11-12 17:55:42.000000000 +0100 +++ rc.crond 2005-11-12 17:56:11.000000000 +0100 @@ -14,11 +14,10 @@ actions=(restart start status stop) daemon=$"cron daemon" -pid="$(pidof crond 2> /dev/null)" - rc_start() { start_msg + pid="$(pidof crond 2> /dev/null)" if [ -z ${pid} ] ; then /usr/sbin/crond -l10 >> /var/log/cron 2> /dev/null ok $? @@ -30,6 +29,7 @@ rc_stop() { stop_msg + pid="$(pidof crond 2> /dev/null)" if [ ! -z ${pid} ] ; then killall crond ok $?