[readme] fix config example
This commit is contained in:
22
README.md
22
README.md
@@ -46,7 +46,7 @@ actions that will be executed once triggered.
|
|||||||
"options": {
|
"options": {
|
||||||
"deviceId": "ata-Samsung_SSD_860_EVO_1TB_S4AALKWJDI102",
|
"deviceId": "ata-Samsung_SSD_860_EVO_1TB_S4AALKWJDI102",
|
||||||
"waitTillConnected": true //only trigger when usb drive was actually attached before
|
"waitTillConnected": true //only trigger when usb drive was actually attached before
|
||||||
}
|
},
|
||||||
"actions": [ //list of actions that will be executed when triggered
|
"actions": [ //list of actions that will be executed when triggered
|
||||||
{
|
{
|
||||||
"name": "unixCommand",
|
"name": "unixCommand",
|
||||||
@@ -56,17 +56,15 @@ actions that will be executed once triggered.
|
|||||||
"stage": 2 // defines the order in which actions are triggered.
|
"stage": 2 // defines the order in which actions are triggered.
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "sendMail",
|
"type": "SendTelegram",
|
||||||
"options": {
|
"options": {
|
||||||
"smtpserver": "domain.org",
|
"token": "3345823487:FFGdEFxc1pA18d02Akslw-lkwjdA92KAH2",
|
||||||
"port": 667,
|
"chatId": -832325872,
|
||||||
"recipients": [ "mail1@host.org", "mail2@host.org" ],
|
"message": "attention, intruders got my device!",
|
||||||
"message": "kill switch was triggered",
|
"testMessage": "this is just a test, no worries"
|
||||||
"attachments": [ "/path/atachments" ],
|
},
|
||||||
"pubkeys": "/path/to/keys.pub"
|
|
||||||
},
|
|
||||||
"stage": 1 //this event is triggered first, then the shutdown
|
"stage": 1 //this event is triggered first, then the shutdown
|
||||||
},
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -74,7 +72,7 @@ actions that will be executed once triggered.
|
|||||||
"name": "Second Trigger",
|
"name": "Second Trigger",
|
||||||
"options": {
|
"options": {
|
||||||
"interfaceName": "eth0",
|
"interfaceName": "eth0",
|
||||||
}
|
},
|
||||||
"actions": [
|
"actions": [
|
||||||
{
|
{
|
||||||
"name": "unixCommand",
|
"name": "unixCommand",
|
||||||
|
|||||||
Reference in New Issue
Block a user