From fcc5d4b03888d82c0dabeb05e4bd422b8868ed5a Mon Sep 17 00:00:00 2001 From: Alexandros Couloumbis Date: Fri, 31 Aug 2018 10:57:05 +0300 Subject: [PATCH] linux/x86: bridge eth0/eth1 by default --- target/linux/x86/base-files/etc/rc.local | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 target/linux/x86/base-files/etc/rc.local diff --git a/target/linux/x86/base-files/etc/rc.local b/target/linux/x86/base-files/etc/rc.local new file mode 100644 index 0000000000..b326ff4f9c --- /dev/null +++ b/target/linux/x86/base-files/etc/rc.local @@ -0,0 +1,11 @@ +# Put your custom commands here that should be executed once +# the system init finished. By default this file does nothing. + +sleep 2 + +brctl stp br-lan off +brctl addif br-lan eth1 + +ifconfig eth1 0.0.0.0 up + +exit 0 -- 2.35.1