nfs-utils/nfs-utils-1.0.5-statdpath.patch

17 lines
511 B
Diff
Raw Normal View History

--- ./utils/statd/statd.h.orig 2002-09-01 22:31:23.000000000 -0400
+++ ./utils/statd/statd.h 2003-07-21 10:45:54.000000000 -0400
@@ -13,10 +13,11 @@
/*
* Paths and filenames.
*/
+#define STATD_PATH_XTN "statd/"
#if defined(NFS_STATEDIR)
-# define DEFAULT_DIR_BASE NFS_STATEDIR "/"
+# define DEFAULT_DIR_BASE NFS_STATEDIR "/" STATD_PATH_XTN
#else
-# define DEFAULT_DIR_BASE "/var/lib/nfs/"
+# define DEFAULT_DIR_BASE "/var/lib/nfs/" STATD_PATH_XTN
#endif
#define DEFAULT_SM_DIR DEFAULT_DIR_BASE "sm"