This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
admin-scripts [2022/01/11 03:59] – hogwild | admin-scripts [2023/08/05 19:19] (current) – hogwild | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Scripts ===== | + | ====== Scripts |
- | The Scripts page allows you to define certain commands to be run upon specific events. These events are predefined. Each event condition has its own tab. | + | The Scripts page allows you to define certain commands to be run upon specific events. These events are predefined. Each event condition has its own tab. \\ |
- | {{: | + | \\ \\ **INIT: |
- | | + | **Halt:** |
- | * **Shutdown**: Commands defined here are called when the device goes through the Shutdown or Reboot process. | + | {{:pasted: |
- | * **Firewall**: Often FreshTomato calls the firewall to restart. This happens | + | **Firewall:** Often, FreshTomato calls the firewall to restart. This happens |
- | * **WAN Up (Main)**: A script entered here is called every time the primary WAN (re)connects. | + | **WAN Up (Main):** A script entered here is called every time the primary WAN (re)connects. |
- | * **MultiWan Up**: A script in this field is run every time a WAN is reconnected. | + | **MultiWan Up:** A script in this field is run every time a WAN is reconnected. |
\\ | \\ | ||
- | {{: | + | {{: |
- | | + | **Word Wrap:** This option wraps text exceeding the line length to the next line, to make it easier to read. |
+ | |||
+ | \\ | ||
+ | |||
+ | \\ | ||