diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2018-09-14 22:25:09 +0200 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2018-09-14 22:25:09 +0200 |
commit | 3362d9fb3a94d0909b79c290abc8db6abe4cca21 (patch) | |
tree | 35f9e4dfaeb691fe09fcd95b45dc440f0338a1b5 /target/linux/orion/base-files/etc/uci-defaults | |
parent | 51e1f1476f74d6788b106a066dfebd8ec6ac1bd9 (diff) | |
download | mtk-20170518-3362d9fb3a94d0909b79c290abc8db6abe4cca21.zip mtk-20170518-3362d9fb3a94d0909b79c290abc8db6abe4cca21.tar.gz mtk-20170518-3362d9fb3a94d0909b79c290abc8db6abe4cca21.tar.bz2 |
target/linux : drop many arch
Diffstat (limited to 'target/linux/orion/base-files/etc/uci-defaults')
-rw-r--r-- | target/linux/orion/base-files/etc/uci-defaults/10-network | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/target/linux/orion/base-files/etc/uci-defaults/10-network b/target/linux/orion/base-files/etc/uci-defaults/10-network deleted file mode 100644 index 3baa679..0000000 --- a/target/linux/orion/base-files/etc/uci-defaults/10-network +++ /dev/null @@ -1,53 +0,0 @@ -config_simple() { -cat >> /etc/config/network <<EOF -config interface lan - option ifname eth0 - option type bridge - option proto static - option ipaddr 192.168.1.1 - option netmask 255.255.255.0 - option ip6assign 60 -EOF -} - -config_dsa() { -cat >> /etc/config/network <<EOF -config interface eth0 - option ifname eth0 - -config interface wan - option ifname wan - option proto dhcp - option hostname openwrt - -config interface lan - option ifname "lan1 lan2 lan3 lan4" - option type bridge - option proto static - option ipaddr 192.168.1.1 - option netmask 255.255.255.0 - option ip6assign 60 - -config interface wan6 - option ifname @wan - option proto dhcpv6 - -config globals globals - option ula_prefix auto -EOF -} - -cat > /etc/config/network <<EOF -config interface loopback - option ifname lo - option proto static - option ipaddr 127.0.0.1 - option netmask 255.0.0.0 - -EOF - -if grep -q lan /proc/net/dev; then - config_dsa -else - config_simple -fi |