diff options
author | Robert Alessi <alessi@robertalessi.net> | 2021-06-21 15:29:19 +0200 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2021-06-21 15:29:19 +0200 |
commit | 561f2901e4c547b0bd95e5eb08ea11bfc981f870 (patch) | |
tree | e35a55971344d4eecdaf6ce693d332a1655b6d92 /my-x200.initd | |
parent | c9a430d6ae40f5f7e2c99d2c088d5b54456ca140 (diff) | |
download | my-x200-master.tar.gz |
Diffstat (limited to 'my-x200.initd')
-rw-r--r-- | my-x200.initd | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/my-x200.initd b/my-x200.initd index bb05cf4..7212d52 100644 --- a/my-x200.initd +++ b/my-x200.initd | |||
@@ -82,7 +82,11 @@ do_privacy() { | |||
82 | then | 82 | then |
83 | printf '0004' > /var/lib/dhcpcd/duid | 83 | printf '0004' > /var/lib/dhcpcd/duid |
84 | cat /proc/sys/kernel/random/boot_id >> /var/lib/dhcpcd/duid | 84 | cat /proc/sys/kernel/random/boot_id >> /var/lib/dhcpcd/duid |
85 | /usr/bin/macchanger -r $wired_interface | 85 | /usr/bin/macchanger "$macchanger_options" $wired_interface |
86 | fi | ||
87 | if [ -n "${wireless_interface}" ] | ||
88 | then | ||
89 | /usr/bin/macchanger "$macchanger_options" $wireless_interface | ||
86 | fi | 90 | fi |
87 | fi | 91 | fi |
88 | } | 92 | } |