diff -ruN bind9-9.4.2.orig/debian/bind9.init bind9-9.4.2/debian/bind9.init --- bind9-9.4.2.orig/debian/bind9.init 2008-03-18 07:29:47.000000000 +0900 +++ bind9-9.4.2/debian/bind9.init 2008-03-18 07:43:44.000000000 +0900 @@ -102,9 +102,14 @@ sleep 2 $0 start ;; + + status) + status_of_proc "/usr/sbin/named" "domain name service" + exit $? + ;; *) - log_action_msg "Usage: /etc/init.d/bind9 {start|stop|reload|restart|force-reload}" + log_action_msg "Usage: /etc/init.d/bind9 {start|stop|reload|restart|force-reload|status}" exit 1 ;; esac diff -ruN bind9-9.4.2.orig/debian/changelog bind9-9.4.2/debian/changelog --- bind9-9.4.2.orig/debian/changelog 2008-03-18 07:29:47.000000000 +0900 +++ bind9-9.4.2/debian/changelog 2008-03-18 08:16:02.000000000 +0900 @@ -1,3 +1,10 @@ +bind9 (1:9.4.2-6ubuntu1) hardy; urgency=low + + * debian/bind9.init: Added support for LSB status compliance (LP: #203169), + coded with Dustin Kirkland + + -- Onno Benschop Tue, 18 Mar 2008 08:15:49 +0900 + bind9 (1:9.4.2-6) unstable; urgency=low * Correct apparmor profile filename. LP: #200739