summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-includes/usr/local/lib/tails-spoof-mac
diff options
context:
space:
mode:
Diffstat (limited to 'config/chroot_local-includes/usr/local/lib/tails-spoof-mac')
-rwxr-xr-xconfig/chroot_local-includes/usr/local/lib/tails-spoof-mac3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/chroot_local-includes/usr/local/lib/tails-spoof-mac b/config/chroot_local-includes/usr/local/lib/tails-spoof-mac
index 774a347..b43811c 100755
--- a/config/chroot_local-includes/usr/local/lib/tails-spoof-mac
+++ b/config/chroot_local-includes/usr/local/lib/tails-spoof-mac
@@ -75,7 +75,8 @@ mac_spoof_panic() {
fi
module=$(get_module_used_by_nic "${nic}")
nic_name="$(get_name_of_nic ${nic})"
- echo "blacklist ${module}" >> /etc/modprobe.d/"${module}"-blacklist.conf
+ echo "install ${module} /bin/true" >> \
+ /etc/modprobe.d/"${module}"-blacklist.conf
unload_module_and_rev_deps "${module}" || :
if nic_exists "${nic}"; then
log "Failed to unload module ${module} of NIC ${nic}."