That is, use debian/ldirectord.init rather than
ldirectord/init.d/ldirectord

Signed-off-by: Simon Horman <[email protected]>

Index: cluster-agents-1.0.really.1.0.2.rc1/debian/ldirectord.postinst
===================================================================
--- cluster-agents-1.0.really.1.0.2.rc1.orig/debian/ldirectord.postinst 
2010-02-04 21:33:02.000000000 +0900
+++ cluster-agents-1.0.really.1.0.2.rc1/debian/ldirectord.postinst      
2010-02-04 21:33:22.000000000 +0900
@@ -26,11 +26,7 @@ set -e
 #     `abort-remove' or `abort-deconfigure'.
 
 case "$1" in
-    configure)
-       update-rc.d ldirectord defaults >/dev/null
-    ;;
-
-    abort-upgrade|abort-remove|abort-deconfigure)
+    configure|abort-upgrade|abort-remove|abort-deconfigure)
     ;;
 
     *)
Index: cluster-agents-1.0.really.1.0.2.rc1/debian/ldirectord.postrm
===================================================================
--- cluster-agents-1.0.really.1.0.2.rc1.orig/debian/ldirectord.postrm   
2010-02-04 21:33:02.000000000 +0900
+++ cluster-agents-1.0.really.1.0.2.rc1/debian/ldirectord.postrm        
2010-02-04 21:33:27.000000000 +0900
@@ -21,7 +21,6 @@ set -e
 
 case "$1" in
        
purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
-       update-rc.d -f ldirectord remove >/dev/null
         ;;
 
     *)
Index: cluster-agents-1.0.really.1.0.2.rc1/debian/rules
===================================================================
--- cluster-agents-1.0.really.1.0.2.rc1.orig/debian/rules       2010-02-04 
21:32:30.000000000 +0900
+++ cluster-agents-1.0.really.1.0.2.rc1/debian/rules    2010-02-04 
22:02:34.000000000 +0900
@@ -71,6 +71,7 @@ binary-common:
        dh_testroot
        dh_installdocs
        dh_installchangelogs
+       dh_installinit
        dh_strip
        dh_compress
        dh_fixperms

_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to