forked from pool/ocfs2-tools
58 lines
1.7 KiB
Diff
58 lines
1.7 KiB
Diff
|
Index: ocfs2-tools/vendor/common/o2cb.init.sh
|
||
|
===================================================================
|
||
|
--- ocfs2-tools.orig/vendor/common/o2cb.init.sh 2012-08-24 10:22:54.000000000 -0500
|
||
|
+++ ocfs2-tools/vendor/common/o2cb.init.sh 2012-08-24 10:23:09.000000000 -0500
|
||
|
@@ -8,7 +8,8 @@
|
||
|
# Provides: o2cb
|
||
|
# Required-Start: $network
|
||
|
# Should-Start:
|
||
|
-# Required-Stop:
|
||
|
+# Should-Stop:
|
||
|
+# Required-Stop: $null
|
||
|
# Default-Start: 2 3 5
|
||
|
# Default-Stop:
|
||
|
# Short-Description: Load O2CB cluster services at system boot.
|
||
|
@@ -671,7 +672,7 @@ status_filesystem()
|
||
|
|
||
|
status_daemon()
|
||
|
{
|
||
|
- DAEMON="/sbin/ocfs2_controld.${O2CB_STACK}"
|
||
|
+ DAEMON="/usr/sbin/ocfs2_controld.${O2CB_STACK}"
|
||
|
echo -n "Checking for control daemon: "
|
||
|
if [ -n "$(pidofproc "$DAEMON")" ]
|
||
|
then
|
||
|
@@ -700,6 +701,7 @@ bringup_daemon()
|
||
|
fi
|
||
|
sleep 1
|
||
|
done
|
||
|
+ sleep 2
|
||
|
|
||
|
return 0
|
||
|
}
|
||
|
@@ -707,7 +709,7 @@ bringup_daemon()
|
||
|
kill_daemon()
|
||
|
{
|
||
|
SIGNAL="$1"
|
||
|
- DAEMON="/sbin/ocfs2_controld.${O2CB_STACK}"
|
||
|
+ DAEMON="/usr/sbin/ocfs2_controld.${O2CB_STACK}"
|
||
|
|
||
|
status_daemon >/dev/null 2>&1 || return 2
|
||
|
|
||
|
Index: ocfs2-tools/vendor/common/ocfs2.init
|
||
|
===================================================================
|
||
|
--- ocfs2-tools.orig/vendor/common/ocfs2.init 2012-08-24 10:22:54.000000000 -0500
|
||
|
+++ ocfs2-tools/vendor/common/ocfs2.init 2012-08-24 10:23:09.000000000 -0500
|
||
|
@@ -8,9 +8,9 @@
|
||
|
### BEGIN INIT INFO
|
||
|
# Provides: ocfs2
|
||
|
# Required-Start: $network o2cb
|
||
|
-# Required-Stop:
|
||
|
-# X-UnitedLinux-Should-Start:
|
||
|
-# X-UnitedLinux-Should-Stop:
|
||
|
+# Required-Stop: $null
|
||
|
+# Should-Start:
|
||
|
+# Should-Stop:
|
||
|
# Default-Start: 2 3 5
|
||
|
# Default-Stop:
|
||
|
# Short-Description: Mount OCFS2 volumes at boot.
|