aboutsummaryrefslogtreecommitdiff
path: root/my-x200.confd
blob: 0080db2b3385865083f8dc40c225de2245ac7cb2 (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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
# /etc/default/my-x200: config file for /etc/init.d/my-x200

# It is also possible to leave this file untouched.  In this case,
# `my-x200` can source its configuration from one or more `*.conf`
# files written in a specific directory `/etc/default/my-x200.d/`
# which is to be created.  This is the recommended method for these
# files cannot be affected by subsequent updates.

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

# Is this machine a Thinkpad X200?  If so, my-x200 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, my-x200 will delete /var/lib/dhcpcd/duid,
# and generate a new DUID-LLT based file with an updated timestamp.

# 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 have wpa_supplicant handle this, add the following lines in
# /etc/wpa_supplicant/wpa_supplicant.conf:
#
# ctrl_interface=DIR=/run/wpa_supplicant GROUP=netdev
# update_config=1
# mac_addr=1
# preassoc_mac_addr=1
#
# Alternatively, supply the actual wireless interface name as value of
# the variable 'wireless_interface' below.

# 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'

# If not set below, the MAC address of the wired interface will not be
# spoofed.
wired_interface=""        # supply the actual interface name! In case of
                          # doubt, see the output of 'ls /sys/class/net/'

# If not set below, the MAC address of the wireless interface will not
# be spoofed, unless the spoofing is handled by wpa_supplicant as
# described above.
wireless_interface=""     # supply the actual interface name! In case of
                          # doubt, see the output of 'ls /sys/class/net/'

# macchanger options:
macchanger_options="-r"   # this sets a fully random MAC. Adapt. (Read
			  # `man macchanger` on how to do this.)

##################
# 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, my-x200 uses
# 'alpha', which is already defined in /etc/rsnapshot.conf:
rsnapshot_args="alpha"