This repository has been archived by the owner on May 4, 2020. It is now read-only.
forked from Lochnair/vyatta-wireguard
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add up/down script. See issue Lochnair#136
Signed-off-by: Pascal Vorwerk <info@fossores.de>
- Loading branch information
1 parent
b092190
commit 200d5c9
Showing
3 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
...opt/vyatta/share/vyatta-cfg/templates/interfaces/wireguard/node.tag/down-command/node.def
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
type: txt | ||
help: Script or command executed before the interface goes down | ||
val_help: txt; Command | ||
val_help: txt; Executable script in /config/scripts |
4 changes: 4 additions & 0 deletions
4
...c/opt/vyatta/share/vyatta-cfg/templates/interfaces/wireguard/node.tag/up-command/node.def
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
type: txt | ||
help: Script or command executed after the interface went up | ||
val_help: txt; Command | ||
val_help: txt; Executable script in /config/scripts |