[prev in list] [next in list] [prev in thread] [next in thread]
List: openais
Subject: [Openais] follow lsb initscript guidelines
From: Steven Dake <sdake () redhat ! com>
Date: 2008-01-15 9:23:37
Message-ID: 1200389017.26057.3.camel () balance
[Download RAW message or body]
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
["follow-lsb-initscript.patch" (follow-lsb-initscript.patch)]
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
Openais@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/openais
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic