aboutsummaryrefslogtreecommitdiff
path: root/my-x200.confd
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2021-02-07 11:50:26 +0100
committerRobert Alessi <alessi@robertalessi.net>2021-02-07 11:50:26 +0100
commit7d0a96e7b5cf4541b07570d54829e152ff9b9a5c (patch)
tree349c3fc6cb6a3a44eb28f12c281ac4616d59775f /my-x200.confd
downloadmy-x200-7d0a96e7b5cf4541b07570d54829e152ff9b9a5c.tar.gz
initial Debian/Devuan commit
Diffstat (limited to 'my-x200.confd')
-rw-r--r--my-x200.confd79
1 files changed, 79 insertions, 0 deletions
diff --git a/my-x200.confd b/my-x200.confd
new file mode 100644
index 0000000..74b941e
--- /dev/null
+++ b/my-x200.confd
@@ -0,0 +1,79 @@
1# /etc/default/my-x200: config file for /etc/init.d/my-x200
2
3#########################################
4# Options to pass to the my-x200 daemon #
5#########################################
6
7# Is this machine a Thinkpad X200? If so, my-x200 can eliminate the
8# whining noise that is noticeable when the brightness of the screen
9# is lowered.
10
11is_thinkpad_x200="yes" # (yes|no)
12
13PWMFREQ_RATE="0x8bb7b16dc5b6a"
14
15####################
16# Privacy settings #
17####################
18
19# To enable privacy settings, set enable_privacy to 'true' and supply
20# the right name of the wired internet interface that may or may not
21# be connected to the internet so that its MAC address can be spoofed
22# at startup. Additionally, my-x200 will delete /var/lib/dhcpcd/duid,
23# and generate a new DUID-LLT based file with an updated timestamp.
24
25# IMPORTANT NOTICE: As dhcpcd uses ANY ONE network interface that is
26# connected to the DHCP device to generate the DIUD-LLT file, the
27# wireless interface MUST have its MAC address spoofed as well. To
28# make wpa_supplicant handle this, add the following lines in
29# /etc/wpa_supplicant/wpa_supplicant.conf:
30# ctrl_interface=DIR=/run/wpa_supplicant GROUP=netdev
31# update_config=1
32# mac_addr=1
33# preassoc_mac_addr=1
34
35# Finally, it is advisable to set the hostname to "localhost" and have
36# "hostname_short" in /etc/dhcpcd.conf so that the actual hostname of
37# the machine should not be sent to the DHCP server.
38
39enable_privacy="false" # either 'true' or 'false'
40wired_interface="" # supply the actual interface name! In case of
41 # doubt, see the output of 'ls /sys/class/net/'
42
43##################
44# Backup options #
45##################
46
47# Activate autobackup on shutdown (true/false)?
48conf_autobackup="false"
49# Use rsnaphot (true/false)? 'false' means 'use rsync':
50use_rsnapshot="false"
51
52############################
53# rsync/rsnapshot settings #
54############################
55
56# Path to backup directory (note that rsnapshot additionally needs
57# this to be specified as 'snapshot_root' in /etc/rsnapshot.conf):
58conf_backup_path="/mnt/disk/snapshots"
59
60# The following option applies both to rsync and rsnapshot.
61# Control file. This (empty) file must exist in the backup directory:
62conf_control_file="dobackup"
63
64######################
65# rsync-only setting #
66######################
67
68# rsync only option:
69# Directories to backup:
70conf_backup_dirs="/etc /root /usr/local /home"
71
72##########################
73# rsnapshot-only setting #
74##########################
75
76# Use the following line to have specific arguments passed to
77# rsnapshot such as 'daily' or the like. By default, my-x200 uses
78# 'alpha', which is already defined in /etc/rsnapshot.conf:
79rsnapshot_args="alpha"