diff --git a/Documentation/NuttShell.html b/Documentation/NuttShell.html
index 206d2849602..e6dfc09e5a2 100644
--- a/Documentation/NuttShell.html
+++ b/Documentation/NuttShell.html
@@ -347,49 +347,55 @@
|
- 2.44 Wait for Seconds (sleep)
+ 2.44 Shut the system down (shutdown)
|
|
- 2.45 Unmount a File System (umount)
+ 2.45 Wait for Seconds (sleep)
|
|
- 2.46 Unset an Environment Variable (unset)
+ 2.46 Unmount a File System (umount)
|
|
- 2.47 URL Decode (urldecode)
+ 2.47 Unset an Environment Variable (unset)
|
|
- 2.48 URL Encode (urlencode)
+ 2.48 URL Decode (urldecode)
|
|
- 2.49 Wait for Microseconds (usleep)
+ 2.49 URL Encode (urlencode)
|
|
- 2.50 Get File Via HTTP (wget)
+ 2.50 Wait for Microseconds (usleep)
|
|
- 2.51 Hexadecimal Dump of Memory (xd)
+ 2.51 Get File Via HTTP (wget)
+ |
+
+
+
|
+
+ 2.52 Hexadecimal Dump of Memory (xd)
|
@@ -2303,10 +2309,29 @@ sh <script-path>
to by <script-path>.
+
+
+Command Syntax:
+
+shutdown
+
+
+ Synopsis.
+ Shutdown and power off the system immediately.
+ This command depends on hardware support to power down the system.
+
+
+
@@ -2323,7 +2348,7 @@ sleep <sec>
@@ -2353,7 +2378,7 @@ nsh>
@@ -2379,7 +2404,7 @@ nsh>
@@ -2396,7 +2421,7 @@ urldecode [-f] <string or filepath>
@@ -2413,7 +2438,7 @@ urlencode [-f] <string or filepath>
@@ -2430,7 +2455,7 @@ usleep <usec>
@@ -2457,7 +2482,7 @@ wget [-o <local-path>] <url>
@@ -2748,6 +2773,11 @@ nsh>
CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NFILE_STREAMS > 0 && !CONFIG_NSH_DISABLESCRIPT |
CONFIG_NSH_DISABLE_SH |
+
+ shutdown |
+ CONFIG_BOARDCTL_POWEROFF |
+ CONFIG_NSH_DISABLE_SHUTDOWN |
+
sleep |
!CONFIG_DISABLE_SIGNALS |
@@ -4294,6 +4324,7 @@ mount -t vfat /dev/ram1 /tmp
ROMFS, Modifying the ROMFS image
set
sh
+ shutdown
Simple commands
sleep
Start-up, Default behavior