ar71xx: drop target
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / etc / uci-defaults / 03_network-vlan-migration
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-vlan-migration b/target/linux/ar71xx/base-files/etc/uci-defaults/03_network-vlan-migration
deleted file mode 100644 (file)
index 259d240..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-#
-# Copyright (C) 2010 OpenWrt.org
-#
-
-dev="$(uci -q get network.@switch_vlan[0].device)"
-vlan="$(uci -q get network.@switch_vlan[0].vlan)"
-
-if [ "$dev" = "rtl8366s" ] && [ "$vlan" = 0 ]; then
-       logger -t vlan-migration "VLAN 0 is invalid for RTL8366s, changing to 1"
-       uci set network.@switch_vlan[0].vlan=1
-       uci commit network
-fi