This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
admin-scripts [2022/01/07 09:03] – rs232 | admin-scripts [2023/08/05 19:19] (current) – hogwild | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Scripts ===== | + | ====== Scripts |
- | The Scripts page allows you to define certain | + | The Scripts page allows you to define certain |
- | {{: | + | |
- | * **INIT**: This script is run at boot time only before any connection is ever established.\\ | + | |
- | * **Shutdown**: | + | |
- | * **Firewall**: | + | |
- | * **WAN Up (Main)**: This is called every time the WAN connects., in a MultiWAN scenario this is the primary WAN.\\ | + | |
- | * **MultiWan Up**: This final field run a script every time a WAN is reconnected. Note you can dynamically write your own scripts using $1 to refer to the the MultiWAN interface to affect.\\ | + | |
+ | **Halt: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | **Firewall: | ||
+ | |||
+ | **WAN Up (Main): | ||
+ | |||
+ | **MultiWan Up:** A script in this field is run every time a WAN is reconnected. Specifying which WAN will trigger the script is done by passing the "// | ||
+ | |||
+ | \\ | ||
+ | |||
+ | {{: | ||
+ | |||
+ | **Word Wrap:** This option wraps text exceeding the line length to the next line, to make it easier to read. | ||
+ | |||
+ | \\ | ||
+ | |||
+ | \\ | ||