git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
c34822d
)
darwin-rc-common-does-set-minus-u-20080522
author
Derrick Brashear
<shadow@dementia.org>
Thu, 22 May 2008 22:03:16 +0000 (22:03 +0000)
committer
Derrick Brashear
<shadow@dementia.org>
Thu, 22 May 2008 22:03:16 +0000 (22:03 +0000)
LICENSE IPL10
we need to cope with an unset variable
src/afsd/afs.rc.darwin
patch
|
blob
|
history
diff --git
a/src/afsd/afs.rc.darwin
b/src/afsd/afs.rc.darwin
index
40cb0ab
..
008f5e2
100644
(file)
--- a/
src/afsd/afs.rc.darwin
+++ b/
src/afsd/afs.rc.darwin
@@
-11,6
+11,8
@@
# Updated to match standard service scripts
# Phil Holland <hollandp@umich.edu> 6/11/04
+PRECACHE="$AFS_PRECACHE"
+
. /etc/rc.common
#
@@
-140,7
+142,7
@@
StartService()
fs sysname $AFS_SYSNAME
fi
- if [ -n "$AFS_PRECACHE" ] ; then
+ if [ ! -z "$PRECACHE" ] ; then
fs precache $AFS_PRECACHE
fi