Compare commits

2 Commits

Author SHA1 Message Date
3a4c42f9c0 [readme] fix config example 2023-11-12 01:14:55 +01:00
99529579fe rm binary 2023-11-11 22:07:41 +01:00
3 changed files with 10 additions and 14 deletions

View File

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

Binary file not shown.

View File

@@ -1,2 +0,0 @@
#/bin/sh
echo "hello world"