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] – 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: **A script entered | + | **Halt:** |
- | **Halt:** Commands defined here are called when the device goes through the Shutdown or Reboot process.\ | + | {{:pasted: |
- | **Firewall: | + | **Firewall: |
- | **WAN Up (Main): | + | \\ |
- | **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. | ||
+ | |||
+ | \\ | ||
\\ | \\ |