projects
/
nfs-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e64355
)
sm-notify - use state directory provided via ./configure
author
Neil Brown
<neilb@suse.de>
Tue, 20 Mar 2007 00:50:14 +0000
(11:50 +1100)
committer
Neil Brown
<neilb@suse.de>
Tue, 20 Mar 2007 00:50:14 +0000
(11:50 +1100)
utils/statd/sm-notify.c
patch
|
blob
|
history
diff --git
a/utils/statd/sm-notify.c
b/utils/statd/sm-notify.c
index
0ea3977
..
b7a5dd5
100644
(file)
--- a/
utils/statd/sm-notify.c
+++ b/
utils/statd/sm-notify.c
@@
-25,7
+25,11
@@
#include <grp.h>
#ifndef BASEDIR
-#define BASEDIR "/var/lib/nfs"
+# ifdef NFS_STATEDIR
+# define BASEDIR NFS_STATEDIR
+# else
+# define BASEDIR "/var/lib/nfs"
+# endif
#endif
#define DEFAULT_SM_STATE_PATH BASEDIR "/state"