From: Evan Broder Date: Mon, 6 Oct 2008 09:03:52 +0000 (-0400) Subject: In remctl-auto's init script, exit 0 if inetd is already running X-Git-Tag: sipb-xen-remctl-auto/1.2^0 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-remote.git/commitdiff_plain/9c444d63050ef1e3d1311f798c76e077ddc2ffcb?ds=sidebyside;hp=b25eeefc7f95280fa6f3b0d2f7b76a49d1fe0d48 In remctl-auto's init script, exit 0 if inetd is already running svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=1075 --- diff --git a/debian/changelog b/debian/changelog index ffe56b6..32929f3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +sipb-xen-remctl-auto (1.2) unstable; urgency=low + + * Exit successfully if inetd is already running; package fails to + install otherwise + + -- Evan Broder Mon, 06 Oct 2008 05:03:18 -0400 + sipb-xen-remctl-auto (1.1) unstable; urgency=low * Explicitly lock a volume before deleting it diff --git a/debian/sipb-xen-remctl-auto.init b/debian/sipb-xen-remctl-auto.init index b35f5ba..f56396d 100755 --- a/debian/sipb-xen-remctl-auto.init +++ b/debian/sipb-xen-remctl-auto.init @@ -25,7 +25,8 @@ case "$1" in log_begin_msg "Reloading config for $PACKAGE" gen_config log_end_msg $? - /etc/init.d/openbsd-inetd start # idempotent, thankfully + /etc/init.d/openbsd-inetd start # returns 1 if inetd is running + [ $? -eq 1 ] && exit 0 ;; stop) ;;