aboutsummaryrefslogtreecommitdiff
path: root/x200-my.confd
blob: 4de394d87d3fb207910cc034179484564ffe571f (plain)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# /etc/conf.d/x200-my: config file for /etc/init.d/x200-my

#########################################
# Options to pass to the x200-my daemon #
#########################################

# Is this machine a Thinkpad X200?  If so, x200-my can eliminate the
# whining noise that is noticeable when the brightness of the screen
# is lowered.

is_thinkpad_x200="yes" # (yes|no)

PWMFREQ_RATE="0x8bb7b16dc5b6a"

####################
# Privacy settings #
####################

# To enable privacy settings, set enable_privacy to 'true' and supply
# the right name of the wired internet interface that may or may not
# be connected to the internet so that its MAC address can be spoofed
# at startup.  Additionally, x200-my will delete /etc/dhcpcd.duid,
# which will make dhcpcd generate a new DUID-LLT based file with an
# updated timestamp and the link-layer address of the network
# interface that is connected to the DHCP device at the time that the
# DUID is generated.

# IMPORTANT NOTICE: As dhcpcd uses ANY ONE network interface that is
# connected to the DHCP device to generate the DIUD-LLT file, the
# wireless interface MUST have its MAC address spoofed as well.  To
# make wpa_supplicant handle this, add the following two lines in
# /etc/wpa_supplicant/wpa_supplicant.conf:
# mac_addr=1
# preassoc_mac_addr=1

# Finally, it is advisable to set the hostname to "localhost" and have
# "hostname_short" in /etc/dhcpcd.conf so that the actual hostname of
# the machine should not be sent to the DHCP server.

enable_privacy="false" # either 'true' or 'false'
wired_interface=""     # supply the actual interface name! In case of
                       # doubt, see the output of 'ls /sys/class/net/'

##################
# Backup options #
##################

# Activate autobackup on shutdown (true/false)?
conf_autobackup="false"
# Use rsnaphot (true/false)? 'false' means 'use rsync':
use_rsnapshot="false"

############################
# rsync/rsnapshot settings #
############################

# Path to backup directory (note that rsnapshot additionally needs
# this to be specified as 'snapshot_root' in /etc/rsnapshot.conf):
conf_backup_path="/mnt/disk/snapshots"

# The following option applies both to rsync and rsnapshot.
# Control file.  This (empty) file must exist in the backup directory:
conf_control_file="dobackup"

######################
# rsync-only setting #
######################

# rsync only option:
# Directories to backup:
conf_backup_dirs=(
    "/etc"
    "/root"
    "/usr/local"
    "/home"
)

##########################
# rsnapshot-only setting #
##########################

# Use the following line to have specific arguments passed to
# rsnapshot such as 'daily' or the like.  By default, x200-my uses
# 'alpha', which is already defined in /etc/rsnapshot.conf:
rsnapshot_args="alpha"