summaryrefslogtreecommitdiff
path: root/apps/nshlib/nsh.h
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-01-10 18:42:24 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-01-10 18:42:24 -0600
commit9a3db48a553a6d62d9954d6b20327e95505578cc (patch)
tree878aaee60f14cf39ebc08abc354b1ab2c5546958 /apps/nshlib/nsh.h
parentaddae32212c5c7650148aadd422478bbffa66d7c (diff)
downloadpx4-nuttx-9a3db48a553a6d62d9954d6b20327e95505578cc.tar.gz
px4-nuttx-9a3db48a553a6d62d9954d6b20327e95505578cc.tar.bz2
px4-nuttx-9a3db48a553a6d62d9954d6b20327e95505578cc.zip
Add support for backquoated commands as command arguments
Diffstat (limited to 'apps/nshlib/nsh.h')
-rw-r--r--apps/nshlib/nsh.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/nshlib/nsh.h b/apps/nshlib/nsh.h
index fe85f34ce..1466b7187 100644
--- a/apps/nshlib/nsh.h
+++ b/apps/nshlib/nsh.h
@@ -72,6 +72,15 @@
# undef CONFIG_NSH_TELNET
# undef CONFIG_NSH_FILE_APPS
# undef CONFIG_NSH_TELNET
+# undef CONFIG_NSH_FUNCPARMS
+#endif
+
+/* If CONFIG_NSH_FUNCPARMS is selected, then the path to a directory to
+ * hold temporary files must be provided.
+ */
+
+#if defined(CONFIG_NSH_FUNCPARMS) && !defined(CONFIG_NSH_TMPDIR)
+# define CONFIG_NSH_TMPDIR "/tmp"
#endif
/* Telnetd requires networking support */