summaryrefslogtreecommitdiff
path: root/stage1/02-net-tweaks
diff options
context:
space:
mode:
authorSerge Schneider <serge@raspberrypi.org>2016-11-14 23:55:45 +0000
committerSerge Schneider <serge@raspberrypi.org>2016-11-14 23:55:45 +0000
commitc4fb032d3b8e6113f4e2bc197442b01ed333968e (patch)
tree6b7f5a2607a2b6e5feb45e76e20080746ec34de2 /stage1/02-net-tweaks
parentdb10424a9bb781bb28cfda94e8f647f88d382800 (diff)
Use capsh to ensure file capabilities aren't set
Diffstat (limited to 'stage1/02-net-tweaks')
-rwxr-xr-xstage1/02-net-tweaks/00-run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/stage1/02-net-tweaks/00-run.sh b/stage1/02-net-tweaks/00-run.sh
index fd6609a..85b528f 100755
--- a/stage1/02-net-tweaks/00-run.sh
+++ b/stage1/02-net-tweaks/00-run.sh
@@ -4,6 +4,6 @@ install -m 644 files/ipv6.conf ${ROOTFS_DIR}/etc/modprobe.d/ipv6.conf
install -m 644 files/interfaces ${ROOTFS_DIR}/etc/network/interfaces
install -m 644 files/hostname ${ROOTFS_DIR}/etc/hostname
-on_chroot sh -e - << EOF
+on_chroot << EOF
dpkg-divert --add --local /lib/udev/rules.d/75-persistent-net-generator.rules
EOF