mirror of
https://github.com/pirate/wireguard-docs.git
synced 2025-04-19 08:55:09 +00:00
Add note about using multiple {Pre,Post}{Up,Down} hooks (#4)
Add note about using multiple {Pre,Post}{Up,Down} hooks
This commit is contained in:
commit
066d764a70
@ -685,6 +685,7 @@ MTU = 1500
|
|||||||
#### `PreUp`
|
#### `PreUp`
|
||||||
|
|
||||||
Optionally run a command before the interface is brought up.
|
Optionally run a command before the interface is brought up.
|
||||||
|
This option can be specified multiple times, with commands executed in the order they appear in the file.
|
||||||
|
|
||||||
**Examples**
|
**Examples**
|
||||||
|
|
||||||
@ -694,6 +695,7 @@ Optionally run a command before the interface is brought up.
|
|||||||
#### `PostUp`
|
#### `PostUp`
|
||||||
|
|
||||||
Optionally run a command after the interface is brought up.
|
Optionally run a command after the interface is brought up.
|
||||||
|
This option can appear multiple times, as with <a href="#PreUp">PreUp</a>
|
||||||
|
|
||||||
**Examples**
|
**Examples**
|
||||||
|
|
||||||
@ -718,6 +720,7 @@ Optionally run a command after the interface is brought up.
|
|||||||
#### `PreDown`
|
#### `PreDown`
|
||||||
|
|
||||||
Optionally run a command before the interface is brought down.
|
Optionally run a command before the interface is brought down.
|
||||||
|
This option can appear multiple times, as with <a href="#PreUp">PreUp</a>
|
||||||
|
|
||||||
**Examples**
|
**Examples**
|
||||||
|
|
||||||
@ -731,6 +734,7 @@ Optionally run a command before the interface is brought down.
|
|||||||
#### `PostDown`
|
#### `PostDown`
|
||||||
|
|
||||||
Optionally run a command after the interface is brought down.
|
Optionally run a command after the interface is brought down.
|
||||||
|
This option can appear multiple times, as with <a href="#PreUp">PreUp</a>
|
||||||
|
|
||||||
**Examples**
|
**Examples**
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user