diff -u cron-3.0pl1/debian/control cron-3.0pl1/debian/control --- cron-3.0pl1/debian/control +++ cron-3.0pl1/debian/control @@ -9,7 +9,7 @@ Package: cron Architecture: any -Depends: ${shlibs:Depends}, debianutils (>=1.7), adduser, lsb-base (>= 3.0-10) +Depends: ${shlibs:Depends}, debianutils (>=1.7), adduser, lsb-base (>= 3.2-12ubuntu1) Recommends: exim4 | postfix | mail-transport-agent Suggests: anacron (>=2.0-1), logrotate, lockfile-progs, checksecurity Conflicts: suidmanager (<< 0.50), lockfile-progs (<< 0.1.7) diff -u cron-3.0pl1/debian/changelog cron-3.0pl1/debian/changelog --- cron-3.0pl1/debian/changelog +++ cron-3.0pl1/debian/changelog @@ -1,3 +1,11 @@ +cron (3.0pl1-104+ubuntu2) intrepid; urgency=low + + * debian/control: Depend on lsb >= 3.2-12ubuntu1, which has the + status_of_proc() function. + * debian/cron.init: Add the 'status' action (LP: #203169). + + -- Dustin Kirkland Tue, 08 Jul 2008 13:16:22 -0500 + cron (3.0pl1-104+ubuntu1) intrepid; urgency=low * pathnames.h: Use the Debian sensible-editor (LP: #222830). diff -u cron-3.0pl1/debian/cron.init cron-3.0pl1/debian/cron.init --- cron-3.0pl1/debian/cron.init +++ cron-3.0pl1/debian/cron.init @@ -67,7 +67,11 @@ # cron reloads automatically log_end_msg 0 ;; -*) log_action_msg "Usage: /etc/init.d/cron {start|stop|restart|reload|force-reload}" +status) + status_of_proc /usr/sbin/cron cron + exit $? + ;; +*) log_action_msg "Usage: /etc/init.d/cron {start|stop|restart|reload|force-reload|status}" exit 2 ;; esac