-
Notifications
You must be signed in to change notification settings - Fork 6
/
config.rc.in
36 lines (30 loc) · 1.21 KB
/
config.rc.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[files]
# relative path to where log is kept
log_file = 'canute.log'
# where usb sticks and sd-cards will be automounted
media_dir = '/media'
# Book Directories
# Additional books made available on the USB ports will be made visible
# in the library. The current state will be written to all mount points
# that are active. The first state file found (based on the order in the
# list) will take precedence if they differ.
# These paths can be relative to media_dir or absolute. The mountpoint
# flag should be used if they point to mountpoints that may not be present
# and the swappable flag means USB media that is interchangeable.
library = [
{ name = 'SD', path = 'sd-card', mountpoint = true },
{ name = 'USB1', path = 'usb0', mountpoint = true, swappable = true },
{ name = 'USB2', path = 'usb1', mountpoint = true, swappable = true }
]
[comms]
# serial timeout in seconds
timeout = 1000
[hardware]
# count row actuations (motor wear) when running on Canute 360
log_duty = true
# minumum number of samples of button down to count as a press
button_debounce = 1
[system]
# the presence of files with these names on removable media means that an
# upgrade is available
sysupgrade = [ 'sysupgrade', 'sysupgrade.sh' ]