From 9c444d63050ef1e3d1311f798c76e077ddc2ffcb Mon Sep 17 00:00:00 2001 From: Evan Broder Date: Mon, 6 Oct 2008 05:03:52 -0400 Subject: [PATCH 1/1] In remctl-auto's init script, exit 0 if inetd is already running svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=1075 --- debian/changelog | 7 +++++++ debian/sipb-xen-remctl-auto.init | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) 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) ;; -- 1.7.9.5