Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
tails
tails
Commits
5a4db641
Commit
5a4db641
authored
Jan 13, 2015
by
Tails developers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Log that we're going to step NM before trying to do it.
parent
7369cd34
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
config/chroot_local-includes/usr/local/sbin/tails-spoof-mac
config/chroot_local-includes/usr/local/sbin/tails-spoof-mac
+2
-2
No files found.
config/chroot_local-includes/usr/local/sbin/tails-spoof-mac
View file @
5a4db641
...
...
@@ -63,8 +63,8 @@ mac_spoof_panic() {
echo
"blacklist
${
module
}
"
>>
/etc/modprobe.d/
"
${
module
}
"
-blacklist
.conf
unload_module_and_rev_deps
"
${
module
}
"
||
:
if
nic_exists
"
${
nic
}
"
;
then
service network-manager stop
log
"Failed to unload module
${
module
}
of NIC
${
nic
}
. Stopping NetworkManager."
service network-manager stop
notify_panic_failure
"
${
nic
}
"
"
${
nic_name
}
"
&
else
log
"Successfully unloaded module
${
module
}
of NIC
${
nic
}
."
...
...
@@ -126,8 +126,8 @@ then
# If mac_spoof_panic() fails we're quite screwed, so we kill
# NetworkManager without notification to do our best to
# prevent a MAC address leak.
service network-manager stop
log
"Panic mode failed for NIC
${
NIC
}
. Killing NetworkManager."
service network-manager stop
fi
exit
1
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment