source: server/common/patches/openafs-postinit.patch @ 902

Last change on this file since 902 was 902, checked in by andersk, 14 years ago
Run $AFS_POST_INIT from the openafs-client initscript, if it is defined in /etc/sysconfig/openafs. We use this to set the right sysname.
File size: 413 bytes
RevLine 
[902]1diff --git a/src/packaging/RedHat/openafs-client.init b/src/packaging/RedHat/openafs-client.init
2index e8128aa..10ec647 100644
3--- a/src/packaging/RedHat/openafs-client.init
4+++ b/src/packaging/RedHat/openafs-client.init
5@@ -37,6 +37,7 @@ start() {
6        RETVAL=$?
7        echo
8        [ $RETVAL -eq 0 ] && touch /var/lock/subsys/openafs-client
9+       [ $RETVAL -eq 0 ] && [ "$AFS_POST_INIT" ] && $AFS_POST_INIT
10        return $RETVAL
11 }
12 
Note: See TracBrowser for help on using the repository browser.