Add SH and ROOTSH commands
[fonbot.git] / res / values / strings.xml
index 887f39c9f28b5afb627a393d13ab1a5a4753fa44..f72cfd0b40a9dabd744d6126bccb1e0581c92e7b 100644 (file)
@@ -471,4 +471,14 @@ The help command can be used to get a list of commands and help for them. Exampl
        <string name="error_opening_file">Error opening file %1$s (%2$s)</string>
        <string name="file_received">File received</string>
        <string name="reboot_failed">Reboot failed</string>
+       <string name="sh_help">
+         Usage: sh command [arg1 arg2 ...]\n
+         Executes a shell command and returns its output. FonBot waits for the command to finish, therefore this must not be used with long-running commands.\n
+         Example: sh ls /sdcard/
+       </string>
+       <string name="rootsh_help">
+         Usage: rootsh command [arg1 arg2 ...]\n
+         Executes a shell command as root and returns its output. FonBot waits for the command to finish, therefore this must not be used with long-running commands. This requires root access.\n
+         Example: rootsh stop;sleep 3;start
+       </string>
 </resources>
This page took 0.009444 seconds and 4 git commands to generate.