1+ # Default config for version 1.0-rc.1
2+ # https://github.com/hephaest0s/usbkill
3+
14[config]
25
36# Whitelist command lists the USB ids that you want whitelisted
69# Mac OS X: run "system_profiler SPUSBDataType" in the terminal and find the Vendor/Product ID, it will looks like this:
710# > Product ID: 0x8403
811# > Vendor ID: 0x05ac (Apple Inc.)
9- # Take the 4 characters after the 0x and merge them (Vendor ID first), it will looks like: 05ac:8403
12+ # Take the 4 characters after the 0x and merge them (Vendor ID first), it will look like: 05ac:8403
1013# Be warned! Other parties can copy your trusted usbid to another usb device!
1114# use whitelist command and single space separation as follows:
12- # whitelist = ["usbid1 ", "usbid2 "]
15+ # whitelist = ["4c2a:d2b0 ", "0b2d:a2c4 "]
1316whitelist = []
1417
1518# allow for a certain amount of sleep time between checks, e.g. 0.25 seconds:
@@ -24,10 +27,11 @@ log_file = /var/log/usbkill/usbkill.log
2427# (True/False)
2528melt_usbkill = False
2629
27- # What command should be used to remove files? Add the arguments you want to be used
28- # The developer of usbkill advises srm or shred
29- # Example 'srm -zr'
30- remove_file_command = srm -zr
30+ # use srm to remove files.
31+ # try srm --help or [x] to see what options are available
32+ # [x] http://srm.sourceforge.net/srm.html
33+ # Example: remove_file_command = srm -zlf
34+ remove_file_command = srm
3135
3236# What files should be removed upon a kill?
3337# Provide absolute paths to the files (paths that start with '/' or '~').
@@ -49,8 +53,9 @@ do_sync = True
4953
5054# Custom kill commands that can not be specified using above described mechanisms.
5155# This is where you want to release volumes, etc.
52- # These commands will run in order and as root, as the last commands before a possible sync and shut down.
56+ # These commands will run in order and as root, as the last commands.
57+ # Sync should be activated once more if you want to sync
5358# Use " not ' to define the strings, e.g.:
54- # kill_commands = [ "bash ~/scripts/destroy.sh" ]
59+ # kill_commands = [ "bash ~/scripts/destroy.sh", "sync" ]
5560kill_commands = [ ]
5661
0 commit comments