diff options
-rw-r--r-- | README.md | 6 | ||||
-rw-r--r-- | about.html | 1 | ||||
-rw-r--r-- | my-x200.confd | 6 | ||||
-rw-r--r-- | my-x200.initd | 13 | ||||
-rw-r--r-- | my-x200_0.6-2.dsc | 34 | ||||
-rw-r--r-- | my-x200_0.6-2_amd64.deb | bin | 4668 -> 4880 bytes | |||
-rw-r--r-- | my-x200_0.6.orig.tar.gz | bin | 433766 -> 3359469 bytes |
7 files changed, 43 insertions, 17 deletions
@@ -40,6 +40,12 @@ Configuration | |||
40 | Once installed, `my-x200` is configured by editing | 40 | Once installed, `my-x200` is configured by editing |
41 | [`/etc/default/my-x200`](http://git.robertalessi.net/my-x200/tree/my-x200.confd). | 41 | [`/etc/default/my-x200`](http://git.robertalessi.net/my-x200/tree/my-x200.confd). |
42 | 42 | ||
43 | It is also possible to leave `/etc/default/my-200` untouched. In this | ||
44 | case, `my-x200` can source its configuration from one or more `*.conf` | ||
45 | files written in a specific directory `/etc/default/my-x200.d/` which | ||
46 | is to be created. This is the recommended method for these files | ||
47 | cannot be affected by subsequent updates. | ||
48 | |||
43 | Noise Removal | 49 | Noise Removal |
44 | ------------- | 50 | ------------- |
45 | Set the variable `is_thinkpad_x200` to `yes` (which is the default | 51 | Set the variable `is_thinkpad_x200` to `yes` (which is the default |
@@ -29,6 +29,7 @@ | |||
29 | <p>It is written to be used on <a href="https://www.devuan.org/">Devuan GNU+Linux</a> but it should work on other Debian-based distributions.</p> | 29 | <p>It is written to be used on <a href="https://www.devuan.org/">Devuan GNU+Linux</a> but it should work on other Debian-based distributions.</p> |
30 | <h2 id="configuration">Configuration</h2> | 30 | <h2 id="configuration">Configuration</h2> |
31 | <p>Once installed, <code>my-x200</code> is configured by editing <a href="http://git.robertalessi.net/my-x200/tree/my-x200.confd"><code>/etc/default/my-x200</code></a>.</p> | 31 | <p>Once installed, <code>my-x200</code> is configured by editing <a href="http://git.robertalessi.net/my-x200/tree/my-x200.confd"><code>/etc/default/my-x200</code></a>.</p> |
32 | <p>It is also possible to leave <code>/etc/default/my-200</code> untouched. In this case, <code>my-x200</code> can source its configuration from one or more <code>*.conf</code> files written in a specific directory <code>/etc/default/my-x200.d/</code> which is to be created. This is the recommended method for these files cannot be affected by subsequent updates.</p> | ||
32 | <h2 id="noise-removal">Noise Removal</h2> | 33 | <h2 id="noise-removal">Noise Removal</h2> |
33 | <p>Set the variable <code>is_thinkpad_x200</code> to <code>yes</code> (which is the default value). The default frequency rate should work. It may be changed by modifying the value of <code>PWMFREQ_RATE</code>.</p> | 34 | <p>Set the variable <code>is_thinkpad_x200</code> to <code>yes</code> (which is the default value). The default frequency rate should work. It may be changed by modifying the value of <code>PWMFREQ_RATE</code>.</p> |
34 | <h2 id="privacy-settings">Privacy Settings</h2> | 35 | <h2 id="privacy-settings">Privacy Settings</h2> |
diff --git a/my-x200.confd b/my-x200.confd index 74b941e..ae9606e 100644 --- a/my-x200.confd +++ b/my-x200.confd | |||
@@ -1,5 +1,11 @@ | |||
1 | # /etc/default/my-x200: config file for /etc/init.d/my-x200 | 1 | # /etc/default/my-x200: config file for /etc/init.d/my-x200 |
2 | 2 | ||
3 | # It is also possible to leave this file untouched. In this case, | ||
4 | # `my-x200` can source its configuration from one or more `*.conf` | ||
5 | # files written in a specific directory `/etc/default/my-x200.d/` | ||
6 | # which is to be created. This is the recommended method for these | ||
7 | # files cannot be affected by subsequent updates. | ||
8 | |||
3 | ######################################### | 9 | ######################################### |
4 | # Options to pass to the my-x200 daemon # | 10 | # Options to pass to the my-x200 daemon # |
5 | ######################################### | 11 | ######################################### |
diff --git a/my-x200.initd b/my-x200.initd index 545a778..01040da 100644 --- a/my-x200.initd +++ b/my-x200.initd | |||
@@ -24,12 +24,25 @@ NAME=my-x200 | |||
24 | # Read configuration variable file if it is present | 24 | # Read configuration variable file if it is present |
25 | [ -r /etc/default/$NAME ] && . /etc/default/$NAME | 25 | [ -r /etc/default/$NAME ] && . /etc/default/$NAME |
26 | 26 | ||
27 | # Read additional configuration files in /etc/default/my-x200.d/ | ||
28 | confdir="/etc/default/my-x200.d" | ||
29 | |||
30 | if [ -d "$confdir" ] && [ -f "$confdir"/*.conf ] | ||
31 | then | ||
32 | for file in "$confdir"/*.conf | ||
33 | do | ||
34 | . "$file" | ||
35 | done | ||
36 | fi | ||
37 | |||
38 | # Get my-x200 variables | ||
27 | x200_cmdfreq="/usr/bin/intel_reg" | 39 | x200_cmdfreq="/usr/bin/intel_reg" |
28 | pwmfreq="${PWMFREQ_RATE}" | 40 | pwmfreq="${PWMFREQ_RATE}" |
29 | x200_cmdfreq_args="write 0x00061254 $pwmfreq" | 41 | x200_cmdfreq_args="write 0x00061254 $pwmfreq" |
30 | autobackup="${conf_autobackup}" | 42 | autobackup="${conf_autobackup}" |
31 | backup_path="${conf_backup_path}" | 43 | backup_path="${conf_backup_path}" |
32 | control_file="${conf_control_file}" | 44 | control_file="${conf_control_file}" |
45 | |||
33 | if [ "$use_rsnapshot" = "true" ] | 46 | if [ "$use_rsnapshot" = "true" ] |
34 | then | 47 | then |
35 | backup_cmd="/usr/bin/rsnapshot" | 48 | backup_cmd="/usr/bin/rsnapshot" |
diff --git a/my-x200_0.6-2.dsc b/my-x200_0.6-2.dsc index 4e99861..2921f39 100644 --- a/my-x200_0.6-2.dsc +++ b/my-x200_0.6-2.dsc | |||
@@ -13,29 +13,29 @@ Build-Depends: debhelper (>= 10) | |||
13 | Package-List: | 13 | Package-List: |
14 | my-x200 deb misc optional arch=any | 14 | my-x200 deb misc optional arch=any |
15 | Checksums-Sha1: | 15 | Checksums-Sha1: |
16 | 3c535b0285cbef96b9ee377e4e9478770e3005b0 433766 my-x200_0.6.orig.tar.gz | 16 | 46dd490aa2c55c30780c8ff941ddc293c2ab5962 3359469 my-x200_0.6.orig.tar.gz |
17 | fc77b94ca453b12a16eb2e8e5dd80387fc5f3dfe 1436 my-x200_0.6-2.debian.tar.xz | 17 | fc77b94ca453b12a16eb2e8e5dd80387fc5f3dfe 1436 my-x200_0.6-2.debian.tar.xz |
18 | Checksums-Sha256: | 18 | Checksums-Sha256: |
19 | e2a405be1d396fb9d71cc0a16831fc1dd9ba87eb71c6fa496daa62392532bb38 433766 my-x200_0.6.orig.tar.gz | 19 | 31ea7ae4ec7df28ce5a5ce498be6a721590b0b26f315ab6261dba7145fa8ce77 3359469 my-x200_0.6.orig.tar.gz |
20 | 38371a1002c278d147ec5a3383c201ab15178cd749f5c7ab49df889d6c63a78a 1436 my-x200_0.6-2.debian.tar.xz | 20 | 38371a1002c278d147ec5a3383c201ab15178cd749f5c7ab49df889d6c63a78a 1436 my-x200_0.6-2.debian.tar.xz |
21 | Files: | 21 | Files: |
22 | 2c09ed89728733006a5c51bc7fd07d17 433766 my-x200_0.6.orig.tar.gz | 22 | 2757c40eefe786cc922d0f82a25dca32 3359469 my-x200_0.6.orig.tar.gz |
23 | 08e2552fbd769e9d9aec4bafd5a3ba2a 1436 my-x200_0.6-2.debian.tar.xz | 23 | 08e2552fbd769e9d9aec4bafd5a3ba2a 1436 my-x200_0.6-2.debian.tar.xz |
24 | 24 | ||
25 | -----BEGIN PGP SIGNATURE----- | 25 | -----BEGIN PGP SIGNATURE----- |
26 | 26 | ||
27 | iQJMBAEBCAA2FiEERaXhpjEUeDwRCTLxF3PpJICFyMcFAmAgJ8UYHGFsZXNzaUBy | 27 | iQJMBAEBCAA2FiEERaXhpjEUeDwRCTLxF3PpJICFyMcFAmAmqdkYHGFsZXNzaUBy |
28 | b2JlcnRhbGVzc2kubmV0AAoJEBdz6SSAhcjHuFYQAISOezMNj0dmAsd112AvjOwx | 28 | b2JlcnRhbGVzc2kubmV0AAoJEBdz6SSAhcjHIZoP/iAXvThBK2MBWqbLh0jevaFw |
29 | tNbfpqVSzjjyzPh6FvaEpQfodeCRqEjqzcSe7yD5awMBzmNHYdmwMkpFwKyDG4L9 | 29 | f87Q9v9Pj/N7gnv3JSkKkQRyCtIBfMI9LmtaUgZ/Fk4YG9Rp70nwKHx9g+shiP1h |
30 | hLSBtng4ce9FTYL3jYS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CW8CNJkPkoJY |
38 | tplhDUdq+F4ud8oQFIFJt5Iyv1dWnEri58aq23MErwi7JlV4SimrcK3GyKl7XgEx | 38 | t2be3NirpAZzuMLA2l6cGOTsgQBg1Ym1JKQpxszmWHC/axonVddf14QQcLKxXdRE |
39 | EANJo+IelLcgDMEM7v3w | 39 | Yq616UM8aTNyFqa1MEjV |
40 | =OP2p | 40 | =Iegc |
41 | -----END PGP SIGNATURE----- | 41 | -----END PGP SIGNATURE----- |
diff --git a/my-x200_0.6-2_amd64.deb b/my-x200_0.6-2_amd64.deb index 3959700..1c70d70 100644 --- a/my-x200_0.6-2_amd64.deb +++ b/my-x200_0.6-2_amd64.deb | |||
Binary files differ | |||
diff --git a/my-x200_0.6.orig.tar.gz b/my-x200_0.6.orig.tar.gz index 7a32b05..4bb3791 100644 --- a/my-x200_0.6.orig.tar.gz +++ b/my-x200_0.6.orig.tar.gz | |||
Binary files differ | |||