redhat-use-postinit-in-initscript-20090512
authorAnders Kaseorg <andersk@mit.edu>
Tue, 12 May 2009 17:58:27 +0000 (17:58 +0000)
committerDerrick 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

index e8128aa..10ec647 100644 (file)
@@ -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
 }