The following patch to the init/redhat file modifies the init script to
throw an error 5 (program not found) if the aisexec program cannot be
found.

Regards
-steve
Index: init/redhat
===================================================================
--- init/redhat	(revision 1496)
+++ init/redhat	(working copy)
@@ -15,6 +15,7 @@
 lockfile="/var/lock/subsys/$prog"
 
 start() {
+    [ -x "$exec" ] || exit 5
     echo -n $"Starting OpenAIS daemon ($prog): "
     daemon $exec
     retval=$?
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to