diff options
author | Robert Alessi <alessi@robertalessi.net> | 2019-12-19 19:09:58 +0100 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2019-12-19 19:09:58 +0100 |
commit | e3daf7696cfc2d12f608c99fab80ed6df3b34925 (patch) | |
tree | a86a9f8f21a4153fcc36ffeeddbac3be07e64eaf /x200-my.initd | |
parent | c8b047765ec4565fa31d0a046d42f5c6da11bc7f (diff) | |
download | x200-my-e3daf7696cfc2d12f608c99fab80ed6df3b34925.tar.gz |
bugfix: syntax error in do_privacy()
Diffstat (limited to 'x200-my.initd')
-rw-r--r-- | x200-my.initd | 2 |
1 files changed, 1 insertions, 1 deletions
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() { | |||
58 | do_privacy() { | 58 | do_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 |