]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-redhat-use-postinit-in-initscript-20090512
authorAnders Kaseorg <andersk@mit.edu>
Tue, 12 May 2009 17:58:53 +0000 (17:58 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 12 May 2009 17:58:53 +0000 (17:58 +0000)
LICENSE IPL10
FIXES 124552

if a postinit script is defined, use it

(cherry picked from commit eb9fff14c7be1b15369c6d1a44426c1c7c82c92e)

src/packaging/RedHat/openafs-client.init

index e8128aa19eb651ceb71962a4b44deb8120bc1acf..10ec647e09c566ab0285522093b5e3288653f38c 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
 }