From: Alexandros Couloumbis Date: Fri, 31 Aug 2018 07:57:05 +0000 (+0300) Subject: linux/x86: bridge eth0/eth1 by default X-Git-Url: http://git.ozo.com/?a=commitdiff_plain;h=fcc5d4b03888d82c0dabeb05e4bd422b8868ed5a;p=openwrt-2018%2F.git linux/x86: bridge eth0/eth1 by default --- 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