aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2019-12-19 19:09:58 +0100
committerRobert Alessi <alessi@robertalessi.net>2019-12-19 19:09:58 +0100
commite3daf7696cfc2d12f608c99fab80ed6df3b34925 (patch)
treea86a9f8f21a4153fcc36ffeeddbac3be07e64eaf
parentc8b047765ec4565fa31d0a046d42f5c6da11bc7f (diff)
downloadx200-my-e3daf7696cfc2d12f608c99fab80ed6df3b34925.tar.gz
bugfix: syntax error in do_privacy()
-rw-r--r--PKGBUILD2
-rw-r--r--x200-my.initd2
2 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 08f306a..86fa292 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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=('909a191e46f2d5f4abfb273d59b89e20660b11707e056cddd822b992fbc933a75cbb4f34cad3182b61e584a2d942d528c69d386a9116861086cf8736d7136118' 18sha512sums=('e03cb69f6b4ab6e63491cacbf69ebf6f2ea92b14cab5cea4c7642205ff34a11ba58767c4f2876f8bbd844165a8e2aede993b8201e5c2da456e98330a2259f726'
19 'e0bc650377f593484185438d1ea8e7b6a298fb2ab4d1cf9a99191d878d250c82a998d1ead8f1a0bd6518105e068c0b0926409b9497d8283444c6b734debe3599' 19 'e0bc650377f593484185438d1ea8e7b6a298fb2ab4d1cf9a99191d878d250c82a998d1ead8f1a0bd6518105e068c0b0926409b9497d8283444c6b734debe3599'
20 '0dc141f1a26f2cd570d49a05bcc9496ba4c49fde39afad46f5a0783e83c07ec810ca81454a28c3241bcffc62ac31274e2a8d726bbd3c1e91d8cf5315b783c3f8' 20 '0dc141f1a26f2cd570d49a05bcc9496ba4c49fde39afad46f5a0783e83c07ec810ca81454a28c3241bcffc62ac31274e2a8d726bbd3c1e91d8cf5315b783c3f8'
21 '610564aa853c5dbc4e370ec2a4d3b5590e53ed235a1960927c0986a31f6c77d135086b1f5752b56fd511ea4a0294082fc7e98ee2fa7b69b37776a59f45c2ec34' 21 '610564aa853c5dbc4e370ec2a4d3b5590e53ed235a1960927c0986a31f6c77d135086b1f5752b56fd511ea4a0294082fc7e98ee2fa7b69b37776a59f45c2ec34'
diff --git a/x200-my.initd b/x200-my.initd
index f440df9..3601df0 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 [[ $wired_interface && ${wired_interface-_} ]]
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