From cfbb78e2668603e63dfabdd127b8bf01b6744059 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 21 Apr 2012 00:11:17 +0000 Subject: [PATCH] More NFS updates git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4639 7fd9a85b-ad96-42d3-883c-3090e2eb8679 --- apps/nshlib/nsh.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/nshlib/nsh.h b/apps/nshlib/nsh.h index 46226adcd0..bdd12658e7 100644 --- a/apps/nshlib/nsh.h +++ b/apps/nshlib/nsh.h @@ -491,6 +491,12 @@ void nsh_dumpbuffer(FAR struct nsh_vtbl_s *vtbl, const char *msg, int cmd_ping(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv); # endif #endif +#if !defined(CONFIG_DISABLE_MOUNTPOINT) && CONFIG_NFILE_DESCRIPTORS > 0 && \ + defined(CONFIG_FS_READABLE) && defined(CONFIG_NFS) +# ifndef CONFIG_NSH_DISABLE_NFSMOUNT + int cmd_nfsmount(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv); +# endif +#endif #endif #ifndef CONFIG_DISABLE_ENVIRON