omv7:omv7_plugins:scripts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
omv7:omv7_plugins:scripts [2024/04/20 08:54] – [Run] chenteomv7:omv7_plugins:scripts [2024/05/03 15:45] (current) – [Installation] chente
Line 38: Line 38:
 In OMV7's GUI:\\ In OMV7's GUI:\\
 Under **System**, **Plugins**, find and highlight **openmediavault-scripts 7.X**, and click the **install** button. Under **System**, **Plugins**, find and highlight **openmediavault-scripts 7.X**, and click the **install** button.
 +
 +  * Installing the openmediavault-scripts plugin will also install the openmediavault-sharerootfs plugin as a dependency.
 +\\
 +<html><body><table width="100%" border="0"><tr><td colspan="2" style="background-color:#FFB663;height:30px;"><strong><span style="color:#FFFFFF;font-size:110%;">&#160; 
 +Warning 
 +</span></strong></td></tr><tr><td style="background-color:#FFE4A6;height:25px;width:380px;">
 +Do not uninstall the openmediavault-sharerootfs plugin. It is a dependency of the openmediavault-scripts plugin. Uninstalling openmediavault-sharerootfs when the openmediavault-scripts plugin is installed will cause the openmediavault-scripts plugin to be uninstalled.
 +</tr></table></body></html>
  
 ---- ----
Line 73: Line 81:
  
 {{ :omv7:omv7_plugins:scripts03.jpg?direct&600|Add}} {{ :omv7:omv7_plugins:scripts03.jpg?direct&600|Add}}
-  * Press the **Add** button to create a new script. A dialog box will open in which you must define the following fields:+  * Press the **Add** button and in the submenu press the **Add** button again to create a new script. A dialog box will open in which you must define the following fields:
     * **Name**: This is the name with which the script will be saved and which will be used for its execution.     * **Name**: This is the name with which the script will be saved and which will be used for its execution.
     * **Extension**: This is the extension of the script. Depending on the type of script you want to create you can choose sh for bash, py for python, etc.     * **Extension**: This is the extension of the script. Depending on the type of script you want to create you can choose sh for bash, py for python, etc.
Line 83: Line 91:
       * A copy of the script will be saved in the shared folder defined in the **Settings** tab.       * A copy of the script will be saved in the shared folder defined in the **Settings** tab.
       * A line with the script data will appear in the **Scripts** form. If you have defined arguments, they will appear in the corresponding column.       * A line with the script data will appear in the **Scripts** form. If you have defined arguments, they will appear in the corresponding column.
 +
 +  * Press the **Add** button and in the submenu press the **Import** button to import multiple scripts existing in the server file system at the same time.
 +    * You can type the path to the folder where the scripts are or find the folder in the tree by clicking the icon on the right. It will not import any scripts that already exist in the plugin.
 +
 +  * Press the **Add** button and in the submenu press the **Import one** button to import a single script existing in the server file system.
 +    * You can type the path to the file with the script in the **Path** field. Then press the **Import** button.
  
 ---- ----
Line 110: Line 124:
     * You can stop the execution of the script at any time by pressing the **Stop** button.     * You can stop the execution of the script at any time by pressing the **Stop** button.
     * Press **Close** to exit.     * Press **Close** to exit.
 +
 +<html><body><table width="100%" border="0"><tr><td colspan="2" style="background-color:#69A5FF;height:30px;"><strong><span style="color:#FFFFFF;font-size:110%;">&#160; Note
 +</span></strong></td></tr><tr><td style="background-color:#E6FEFF;height:25px;width:380px;">
 +In this dialog box the output text of the script will be displayed.<br>
 +Dialogs generated with Bash Dialog or similar cannot be interacted with or displayed.
 +</tr></table></body></html>
  
 ---- ----
  • omv7/omv7_plugins/scripts.1713603262.txt.gz
  • Last modified: 2024/04/20 08:54
  • by chente