repo.or.cz
/
tails-test.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Override the hostname provided by the DHCP server (Closes: #7769).
[tails-test.git]
/
config
/
chroot_local-hooks
/
80-block-network
blob
f6b4dd0b32f16411555118b99a6a411c03093866
1
#!/bin/sh
2
3
set -e
4
5
echo
"Generating blocklist for all network devices"
6
7
find
/
lib
/
modules
/*/
kernel
/
drivers
/
net \
8
-name
"*.ko"
-printf
"blacklist %f
\n
"
| \
9
sed
's/\.ko$//'
| \
10
sort
-u
> /
etc
/
modprobe.d
/
all-net-blacklist.conf