diff --git a/Documentation/NuttShell.html b/Documentation/NuttShell.html index 472eb9417e7..d794b2b8fa4 100644 --- a/Documentation/NuttShell.html +++ b/Documentation/NuttShell.html @@ -364,163 +364,169 @@
- 2.48 Shut the system down (poweroff) + 2.48 Manage Power Management Subsystem (pmconfig)
- 2.49 Send File Via TFTP (put) + 2.49 Shut the system down (poweroff)
- 2.50 Show Current Working Directory (pwd) + 2.50 Send File Via TFTP (put)
- 2.51 Show target of a link (readlink) + 2.51 Show Current Working Directory (pwd)
- 2.52 Reset and reboot the system (reboot) + 2.52 Show target of a link (readlink)
- 2.53 Remove a File (rm) + 2.53 Reset and reboot the system (reboot)
- 2.54 Remove a Directory (rmdir) + 2.54 Remove a File (rm)
- 2.55 Remove on OS Module (rmmod) + 2.55 Remove a Directory (rmdir)
- 2.56 Show routing table (route) + 2.56 Remove on OS Module (rmmod)
- 2.57 Start/Stop the OpenAMP RPC Tunnel (rptun) + 2.57 Show routing table (route)
- 2.58 Set a Variable (set) + 2.58 Start/Stop the OpenAMP RPC Tunnel (rptun)
- 2.59 Execute an NSH Script (sh) + 2.59 Set a Variable (set)
- 2.60 Shut the system down (shutdown) + 2.60 Execute an NSH Script (sh)
- 2.61 Wait for Seconds (sleep) + 2.61 Shut the system down (shutdown)
- 2.62 Start the Telnet Daemon (telnetd) + 2.62 Wait for Seconds (sleep)
- 2.63 Time execution of another command (time) + 2.63 Start the Telnet Daemon (telnetd)
- 2.64 Set the Size of a File (truncate) + 2.64 Time execution of another command (time)
- 2.65 Unmount a File System (umount) + 2.65 Set the Size of a File (truncate)
- 2.66 Print system information (uname) + 2.66 Unmount a File System (umount)
- 2.67 Unset an Environment Variable (unset) + 2.67 Print system information (uname)
- 2.68 URL Decode (urldecode) + 2.68 Unset an Environment Variable (unset)
- 2.69 URL Encode (urlencode) + 2.69 URL Decode (urldecode)
- 2.70 Add a New User (useradd) + 2.70 URL Encode (urlencode)
- 2.71 Delete a user (userdel) + 2.71 Add a New User (useradd)
- 2.72 Wait for Microseconds (usleep) + 2.72 Delete a user (userdel)
- 2.73 Get File Via HTTP (wget) + 2.73 Wait for Microseconds (usleep)
- 2.74 Hexadecimal Dump of Memory (xd) + 2.74 Get File Via HTTP (wget) + + + +
+ + 2.75 Hexadecimal Dump of Memory (xd) @@ -2737,7 +2743,24 @@ passwd <username> <password> + +
-

2.48 Shut the system down (poweroff)

+

2.48 Manage Power Management Subsystem (pmconfig)

+
+ +

Command Syntax:

+ +

+ Synopsis. + Control power management subsystem. +

+ + + +
+

2.49 Shut the system down (poweroff)

@@ -2761,7 +2784,7 @@ poweroff [<n>]
-

2.49 Send File Via TFTP (put)

+

2.50 Send File Via TFTP (put)

@@ -2796,7 +2819,7 @@ put [-b|-n] [-f <remote-path>] -h <ip-address> <local-path>
-

2.50 Show Current Working Directory (pwd)

+

2.51 Show Current Working Directory (pwd)

@@ -2826,7 +2849,7 @@ nsh>
-

2.51 Show target of a link (readlink)

+

2.52 Show target of a link (readlink)

@@ -2843,7 +2866,7 @@ readlink <link>
-

2.52 Reboot the system (reboot)

+

2.53 Reboot the system (reboot)

@@ -2865,7 +2888,7 @@ reboot [<n>]
-

2.53 Remove a File (rm)

+

2.54 Remove a File (rm)

@@ -2899,7 +2922,7 @@ nsh>
-

2.54 Remove a Directory (rmdir)

+

2.55 Remove a Directory (rmdir)

@@ -2934,7 +2957,7 @@ nsh>
-

2.55 Remove on OS Module (rmmod)

+

2.56 Remove on OS Module (rmmod)

@@ -2962,7 +2985,7 @@ nsh>
-

2.56 Show routing table (route)

+

2.57 Show routing table (route)

@@ -2983,7 +3006,7 @@ route ipv4|ipv6 -

2.57 Start/Stop the OpenAMP RPC Tunnel (rptun)

+

2.58 Start/Stop the OpenAMP RPC Tunnel (rptun)

@@ -3000,7 +3023,7 @@ rptun start|stop <dev-path>
-

2.58 Set a Variable (set)

+

2.59 Set a Variable (set)

@@ -3089,7 +3112,7 @@ foovalue
-

2.59 Execute an NSH Script (sh)

+

2.60 Execute an NSH Script (sh)

@@ -3107,7 +3130,7 @@ sh <script-path>
-

2.60 Shut the system down (shutdown)

+

2.61 Shut the system down (shutdown)

@@ -3128,7 +3151,7 @@ shutdown [--reboot]
-

2.61 Wait for Seconds (sleep)

+

2.62 Wait for Seconds (sleep)

@@ -3145,7 +3168,7 @@ sleep <sec>
-

2.62 Time Start the Telnet Daemon (telnetd)

+

2.63 Time Start the Telnet Daemon (telnetd)

@@ -3171,7 +3194,7 @@ telnetd
-

2.63 Time execution of another command (time)

+

2.64 Time execution of another command (time)

@@ -3229,7 +3252,7 @@ nsh>
-

2.64 Set the Size of a File (truncate)

+

2.65 Set the Size of a File (truncate)

@@ -3257,7 +3280,7 @@ truncate -s <length> <file-path>
-

2.65 Unmount a File System (umount)

+

2.66 Unmount a File System (umount)

@@ -3287,7 +3310,7 @@ nsh>
-

2.66 Print system information (uname)

+

2.67 Print system information (uname)

@@ -3354,7 +3377,7 @@ uname [-a | -imnoprsv]
-

2.67 Unset an Environment Variable (unset)

+

2.68 Unset an Environment Variable (unset)

@@ -3380,7 +3403,7 @@ nsh>
-

2.68 URL Decode (urldecode)

+

2.69 URL Decode (urldecode)

@@ -3397,7 +3420,7 @@ urldecode [-f] <string or filepath>
-

2.69 URL Encode (urlencode)

+

2.70 URL Encode (urlencode)

@@ -3414,7 +3437,7 @@ urlencode [-f] <string or filepath>
-

2.70 Add a New User (useradd)

+

2.71 Add a New User (useradd)

@@ -3431,7 +3454,7 @@ useradd <username> <password>
-

2.71 Delete a user (userdel)

+

2.72 Delete a user (userdel)

@@ -3448,7 +3471,7 @@ userdel <username>
-

2.72 Wait for Microseconds (usleep)

+

2.73 Wait for Microseconds (usleep)

@@ -3465,7 +3488,7 @@ usleep <usec>
-

2.73 Get File Via HTTP (wget)

+

2.74 Get File Via HTTP (wget)

@@ -3492,7 +3515,7 @@ wget [-o <local-path>] <url>
-

2.74 Hexadecimal Dump of Memory (xd)

+

2.75 Hexadecimal Dump of Memory (xd)

@@ -3847,6 +3870,11 @@ nsh> !CONFIG_DISABLE_MOUNTPOINT && CONFIG_FS_WRITABLE && CONFIG_NSH_LOGIN_PASSWDsup>4 CONFIG_NSH_DISABLE_PASSWD + + pmconfig + CONFIG_PM + CONFIG_NSH_DISABLE_PMCONFIG + poweroff CONFIG_BOARDCTL_POWEROFF @@ -5901,6 +5929,7 @@ xxd -i romfs_img >nsh_romfsimg.h
  • PATH
  • ping
  • ping6
  • +
  • pmconfig
  • poweroff
  • Prompt
  • ps