mirror of
https://github.com/pirate/wireguard-docs.git
synced 2025-10-03 14:26:18 +00:00
Add note about using multiple {Pre,Post}{Up,DOwn} hooks
This commit is contained in:
@@ -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**
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user