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 [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: | ||
| - | {{: | ||
| \\ | \\ | ||
| + | |||
| + | **Halt: | ||
| + | |||
| + | {{: | ||
| + | |||
| + | **Firewall: | ||
| + | |||
| \\ | \\ | ||
| - | | + | **WAN Up (Main):** |
| - | * **Shutdown**: | + | \\ |
| - | | + | **MultiWan Up:** a script here is run every time a WAN is reconnected. Specifying which WAN triggers |
| - | + | ||
| - | * **WAN Up (Main)**: A script | + | |
| - | * **MultiWan Up**: A script in this field is run every time a WAN is reconnected. You can dynamically write your own scripts using $1 to refer to the the MultiWAN interface to affect. | ||
| \\ | \\ | ||
| - | \\ | ||
| - | {{: | + | {{: |
| + | |||
| + | **Word Wrap:** wraps text exceeding the line length to the next line, to make it easier to read. | ||
| + | |||
| + | \\ | ||
| + | |||
| + | \\ | ||
| + | |||
| + | \\ | ||