72 lines
1.4 KiB
Markdown
72 lines
1.4 KiB
Markdown
# Available Triggers:
|
|
|
|
|
|
### Timeout
|
|
Description: Triggers after given duration.
|
|
Values:
|
|
- **duration**
|
|
- Type: int
|
|
- Descr: duration in seconds
|
|
- Default: 0
|
|
|
|
# EthernetDisconnect
|
|
Description: Triggers if Ethernetcable is disconnected.
|
|
Values:
|
|
- **waitTillConnected**
|
|
- Type: bool
|
|
- Descr: Only trigger when device was connected before
|
|
- Default: true
|
|
- **interfaceName**
|
|
- Type: string
|
|
- Descr: Name of ethernet adapter
|
|
- Default: ""
|
|
|
|
### UsbDisconnect
|
|
Description: Triggers when given usb drive is disconnected
|
|
Values:
|
|
- **waitTillConnected**
|
|
- Type: bool
|
|
- Descr: Only trigger when device was connected before
|
|
- Default: true
|
|
- **deviceId**
|
|
- Type: string
|
|
- Descr: Name of device under /dev/disk/by-id/
|
|
- Default: ""
|
|
|
|
|
|
# Available Actions:
|
|
|
|
|
|
# Print
|
|
Description: When triggered prints the configured message to stdout
|
|
Values:
|
|
- **message**
|
|
- Type: string
|
|
- Descr: Message that should be printed
|
|
- Default: ""
|
|
|
|
### Timeout
|
|
Description: When triggered waits given duration before continuing with next stage
|
|
Values:
|
|
- **duration**
|
|
- Type: int
|
|
- Descr: duration in seconds
|
|
- Default: 0
|
|
|
|
# Command
|
|
Description: When triggered executes given command
|
|
Values:
|
|
- **command**
|
|
- Type: string
|
|
- Descr: command to execute
|
|
- Default:
|
|
- **args**
|
|
- Type: string[]
|
|
- Descr: args
|
|
- Default:
|
|
|
|
### Shutdown
|
|
Description: When triggered shuts down the machine
|
|
Values:
|
|
|