From: Anders Kaseorg Date: Tue, 12 May 2009 17:58:53 +0000 (+0000) Subject: STABLE14-redhat-use-postinit-in-initscript-20090512 X-Git-Tag: openafs-stable-1_4_11pre1~51 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=61c327a2b8ba24b93fef791bd15af8c5e5c270b6;p=packages%2Fo%2Fopenafs.git STABLE14-redhat-use-postinit-in-initscript-20090512 LICENSE IPL10 FIXES 124552 if a postinit script is defined, use it (cherry picked from commit eb9fff14c7be1b15369c6d1a44426c1c7c82c92e) --- diff --git a/src/packaging/RedHat/openafs-client.init b/src/packaging/RedHat/openafs-client.init index e8128aa19..10ec647e0 100644 --- 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 }