From: Neil Brown Date: Tue, 20 Mar 2007 00:50:14 +0000 (+1100) Subject: sm-notify - use state directory provided via ./configure X-Git-Tag: nfs-utils-1-1-0-rc1~29 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=7829fe89c152888f737dfd0e05850bc28671991d;p=nfs-utils.git sm-notify - use state directory provided via ./configure --- diff --git a/utils/statd/sm-notify.c b/utils/statd/sm-notify.c index 0ea3977..b7a5dd5 100644 --- a/utils/statd/sm-notify.c +++ b/utils/statd/sm-notify.c @@ -25,7 +25,11 @@ #include #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"