aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD4
-rw-r--r--x200-my.initd2
2 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index cc5334f..08f306a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
2 2
3pkgname=x200-my 3pkgname=x200-my
4pkgver=0.5 4pkgver=0.5
5pkgrel=2 5pkgrel=3
6pkgdesc="Service to remove whining noise from Thinkpads X200, power off the wifi on shutdown and optionally backup directories." 6pkgdesc="Service to remove whining noise from Thinkpads X200, power off the wifi on shutdown and optionally backup directories."
7arch=(any) 7arch=(any)
8license=(GPL2) 8license=(GPL2)
@@ -15,7 +15,7 @@ source=('x200-my.initd'
15 'x200-my-lid.sh' 15 'x200-my-lid.sh'
16 'x200-my-sleep.sh' 16 'x200-my-sleep.sh'
17 'x200-my.sh') 17 'x200-my.sh')
18sha512sums=('22401ceed6c1bf0be9c2afb6ffc1cb3e72c6e0a961f806dab5f7516596e8225fe729e96ee695855f8a8bdd98840939d1413a6eafb80de7075326a10e25a5cbdd' 18sha512sums=('909a191e46f2d5f4abfb273d59b89e20660b11707e056cddd822b992fbc933a75cbb4f34cad3182b61e584a2d942d528c69d386a9116861086cf8736d7136118'
19 'e0bc650377f593484185438d1ea8e7b6a298fb2ab4d1cf9a99191d878d250c82a998d1ead8f1a0bd6518105e068c0b0926409b9497d8283444c6b734debe3599' 19 'e0bc650377f593484185438d1ea8e7b6a298fb2ab4d1cf9a99191d878d250c82a998d1ead8f1a0bd6518105e068c0b0926409b9497d8283444c6b734debe3599'
20 '0dc141f1a26f2cd570d49a05bcc9496ba4c49fde39afad46f5a0783e83c07ec810ca81454a28c3241bcffc62ac31274e2a8d726bbd3c1e91d8cf5315b783c3f8' 20 '0dc141f1a26f2cd570d49a05bcc9496ba4c49fde39afad46f5a0783e83c07ec810ca81454a28c3241bcffc62ac31274e2a8d726bbd3c1e91d8cf5315b783c3f8'
21 '610564aa853c5dbc4e370ec2a4d3b5590e53ed235a1960927c0986a31f6c77d135086b1f5752b56fd511ea4a0294082fc7e98ee2fa7b69b37776a59f45c2ec34' 21 '610564aa853c5dbc4e370ec2a4d3b5590e53ed235a1960927c0986a31f6c77d135086b1f5752b56fd511ea4a0294082fc7e98ee2fa7b69b37776a59f45c2ec34'
diff --git a/x200-my.initd b/x200-my.initd
index e4303e6..f440df9 100644
--- a/x200-my.initd
+++ b/x200-my.initd
@@ -58,7 +58,7 @@ do_backup() {
58do_privacy() { 58do_privacy() {
59 if [ $enable_privacy = "true" ] 59 if [ $enable_privacy = "true" ]
60 then 60 then
61 if [ -n ${wired_interface:+1} ] 61 if [ ! -n ${wired_interface:+1} ]
62 then 62 then
63 rm -rf /etc/dhcpcd.duid 63 rm -rf /etc/dhcpcd.duid
64 /sbin/macchanger -r $wired_interface 64 /sbin/macchanger -r $wired_interface