And do not install useless docs.
Index: new/cman/init.d/cman.in
===================================================================
Index: new/cman/init.d/cman.in
===================================================================
---- new.orig/cman/init.d/cman.in 2010-12-02 07:34:43.000000000 +0100
-+++ new/cman/init.d/cman.in 2010-12-17 15:22:32.000000000 +0100
+--- new.orig/cman/init.d/cman.in 2011-08-30 11:58:11.000000000 +0200
++++ new/cman/init.d/cman.in 2011-08-30 11:58:46.000000000 +0200
@@ -8,10 +8,10 @@
#
### BEGIN INIT INFO
@@ -8,10 +8,10 @@
#
### BEGIN INIT INFO
-# Required-Stop: $network $time
-# Default-Start:
-# Default-Stop:
-# Required-Stop: $network $time
-# Default-Start:
-# Default-Stop:
-+# Required-Start: pve-cluster
-+# Required-Stop: pve-cluster
-+# Default-Start: S
-+# Default-Stop: 0 6
++# Required-Start: $remote_fs pve-cluster
++# Required-Stop: $remote_fs pve-cluster
++# Default-Start: 2 3 4 5
++# Default-Stop: 0 1 6
# Short-Description: Starts and stops cman
# Description: Starts and stops the Cluster Manager set of daemons
### END INIT INFO
# Short-Description: Starts and stops cman
# Description: Starts and stops the Cluster Manager set of daemons
### END INIT INFO
Index: new/rgmanager/init.d/rgmanager.in
===================================================================
Index: new/rgmanager/init.d/rgmanager.in
===================================================================
---- new.orig/rgmanager/init.d/rgmanager.in 2011-07-19 12:52:29.000000000 +0200
-+++ new/rgmanager/init.d/rgmanager.in 2011-08-19 10:26:15.000000000 +0200
-@@ -8,8 +8,8 @@
+--- new.orig/rgmanager/init.d/rgmanager.in 2011-08-25 07:31:44.000000000 +0200
++++ new/rgmanager/init.d/rgmanager.in 2011-08-30 11:57:34.000000000 +0200
+@@ -6,10 +6,10 @@
+ #
+ ### BEGIN INIT INFO
- # Required-Start: cman
- # Required-Stop: cman
+-# Required-Start: cman
+-# Required-Stop: cman
-# Default-Start:
-# Default-Stop:
-# Default-Start:
-# Default-Stop:
-+# Default-Start: S
-+# Default-Stop: 0 6
++# Required-Start: $remote_fs cman
++# Required-Stop: $remote_fs cman
++# Default-Start: 2 3 4 5
++# Default-Stop: 0 1 6
# Short-Description: Starts and stops Red Hat Service (resource group) Manager
# Description: Starts and stops Red Hat Service (resource group) Manager
### END INIT INFO
# Short-Description: Starts and stops Red Hat Service (resource group) Manager
# Description: Starts and stops Red Hat Service (resource group) Manager
### END INIT INFO
+++ /dev/null
-doc/COPYING.applications
-doc/COPYING.libraries
-doc/usage.txt
-rgmanager/errors.txt
esac
if [ -x "/etc/init.d/cman" ]; then
esac
if [ -x "/etc/init.d/cman" ]; then
- update-rc.d cman start 61 S . start 5 0 6 . >/dev/null || exit $?
-fi
-if [ -x "/etc/init.d/gfs2" ]; then
- update-rc.d gfs2 start 65 S . start 2 0 6 . >/dev/null || exit $?
+ update-rc.d cman start 21 2 3 4 5 . stop 79 0 1 6 . >/dev/null || exit $?
fi
if [ -x "/etc/init.d/rgmanager" ]; then
fi
if [ -x "/etc/init.d/rgmanager" ]; then
- update-rc.d rgmanager start 65 S . start 1 0 6 . >/dev/null || exit $?
+ update-rc.d rgmanager start 99 2 3 4 5 . stop 1 0 1 6 . >/dev/null || exit $?
fi
# dh_installdeb will replace this with shell code automatically
fi
# dh_installdeb will replace this with shell code automatically
case "$1" in
purge)
update-rc.d cman remove >/dev/null || exit $?
case "$1" in
purge)
update-rc.d cman remove >/dev/null || exit $?
- update-rc.d gfs2 remove >/dev/null || exit $?
update-rc.d rgmanager remove >/dev/null || exit $?
;;
update-rc.d rgmanager remove >/dev/null || exit $?
;;