summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-hooks/80-block-network
diff options
context:
space:
mode:
Diffstat (limited to 'config/chroot_local-hooks/80-block-network')
-rwxr-xr-xconfig/chroot_local-hooks/80-block-network4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/chroot_local-hooks/80-block-network b/config/chroot_local-hooks/80-block-network
index f6b4dd0..1d375b3 100755
--- a/config/chroot_local-hooks/80-block-network
+++ b/config/chroot_local-hooks/80-block-network
@@ -5,6 +5,6 @@ set -e
echo "Generating blocklist for all network devices"
find /lib/modules/*/kernel/drivers/net \
- -name "*.ko" -printf "blacklist %f\n" | \
- sed 's/\.ko$//' | \
+ -name "*.ko" -printf "install %f /bin/true\n" | \
+ sed 's/\.ko / /' | \
sort -u > /etc/modprobe.d/all-net-blacklist.conf