git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
214ce7c
)
redhat-use-postinit-in-initscript-20090512
author
Anders Kaseorg
<andersk@mit.edu>
Tue, 12 May 2009 17:58:27 +0000 (17:58 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Tue, 12 May 2009 17:58:27 +0000 (17:58 +0000)
LICENSE IPL10
FIXES 124552
if a postinit script is defined, use it
src/packaging/RedHat/openafs-client.init
patch
|
blob
|
history
diff --git
a/src/packaging/RedHat/openafs-client.init
b/src/packaging/RedHat/openafs-client.init
index
e8128aa
..
10ec647
100644
(file)
--- a/
src/packaging/RedHat/openafs-client.init
+++ b/
src/packaging/RedHat/openafs-client.init
@@
-37,6
+37,7
@@
start() {
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/openafs-client
+ [ $RETVAL -eq 0 ] && [ "$AFS_POST_INIT" ] && $AFS_POST_INIT
return $RETVAL
}