This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| admin-scripts [2023/05/23 20:00] – -clarity, remove bullets-not appropriate here hogwild | admin-scripts [2024/10/24 00:44] (current) – hogwild | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== Scripts ===== | + | ====== Scripts |
| - | The Scripts page allows | + | Here, you can define certain commands to be run upon specific events. These events are predefined. Each event condition has its own tab. \\ |
| - | {{: | + | \\ \\ **INIT: |
| - | **INIT: | + | \\ |
| - | **Halt: | + | **Halt: |
| - | **Firewall:** Often, FreshTomato calls the firewall to restart. This happens after configuration changes or some internal events (such as a change of WAN IP). | + | {{:pasted: |
| - | **WAN Up (Main): | + | **Firewall: |
| - | **MultiWan | + | \\ |
| + | |||
| + | **WAN Up (Main): | ||
| \\ | \\ | ||
| - | {{:pasted: | + | **MultiWan Up:** a script here is run every time a WAN is reconnected. Specifying which WAN triggers the script is done by passing the "// |
| - | **Word Wrap: | + | \\ |
| + | |||
| + | {{: | ||
| + | |||
| + | **Word Wrap:** wraps text exceeding the line length to the next line, to make it easier to read. | ||
| + | |||
| + | \\ | ||
| \\ | \\ | ||