From e3daf7696cfc2d12f608c99fab80ed6df3b34925 Mon Sep 17 00:00:00 2001 From: Robert Alessi Date: Thu, 19 Dec 2019 19:09:58 +0100 Subject: bugfix: syntax error in do_privacy() --- PKGBUILD | 2 +- x200-my.initd | 2 +- 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' 'x200-my-lid.sh' 'x200-my-sleep.sh' 'x200-my.sh') -sha512sums=('909a191e46f2d5f4abfb273d59b89e20660b11707e056cddd822b992fbc933a75cbb4f34cad3182b61e584a2d942d528c69d386a9116861086cf8736d7136118' +sha512sums=('e03cb69f6b4ab6e63491cacbf69ebf6f2ea92b14cab5cea4c7642205ff34a11ba58767c4f2876f8bbd844165a8e2aede993b8201e5c2da456e98330a2259f726' 'e0bc650377f593484185438d1ea8e7b6a298fb2ab4d1cf9a99191d878d250c82a998d1ead8f1a0bd6518105e068c0b0926409b9497d8283444c6b734debe3599' '0dc141f1a26f2cd570d49a05bcc9496ba4c49fde39afad46f5a0783e83c07ec810ca81454a28c3241bcffc62ac31274e2a8d726bbd3c1e91d8cf5315b783c3f8' '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() { do_privacy() { if [ $enable_privacy = "true" ] then - if [ ! -n ${wired_interface:+1} ] + if [[ $wired_interface && ${wired_interface-_} ]] then rm -rf /etc/dhcpcd.duid /sbin/macchanger -r $wired_interface -- cgit v1.2.3