aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rwxr-xr-xinit9
1 files changed, 2 insertions, 7 deletions
diff --git a/init b/init
index 6fb3840..eb0c939 100755
--- a/init
+++ b/init
@@ -40,7 +40,8 @@ mount -t proc -o nodev,noexec,nosuid proc /proc
info "init starting up..."
-mount -t devtmpfs -o noexec,nosuid,mode=0755 udev /dev
+mount -t devtmpfs -o nosuid,mode=0755 udev /dev
+ln -s /proc/self/fd /dev/fd
mkdir -p /dev/pts
mount -t devpts -o noexec,nosuid,gid=5,mode=0620 devpts /dev/pts || true
@@ -242,10 +243,6 @@ priv_netbase="$(sed -e 's/^\(.*\)\.0\.0$/\1/' <<<"$priv_network")"
# joins the bridge. Needless to say, constantly changing MAC will wreck
# all kinds of networking havoc.
#
-# While bridge_hw should be (and used to be) enough, something was broken (bug
-# #945466) and now we set it manually and also pass it to DHCP (which runs
-# before post-up). Reportedly fixed in bridge-utils 1.6-3, testing the fix...
-#
cat <<EOF >/etc/network/interfaces
auto lo
iface lo inet loopback
@@ -259,8 +256,6 @@ iface br0 inet dhcp
bridge_maxwait 0
bridge_fd 0
bridge_hw $gmac
- #hwaddress $gmac
- #post-up ip link set br0 address $gmac
post-up ip link set $eth txqueuelen 4000
post-up ip link set br0 txqueuelen 4000