diff options
author | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-01-18 12:42:53 +0000 |
---|---|---|
committer | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-01-18 12:42:53 +0000 |
commit | 560c530e279fb8ed2a4a23ba371a83870aacb71a (patch) | |
tree | b84fd84fae0b742a76e5d875482713db4c2ebbd2 /target/linux/ar71xx/base-files/etc/uci-defaults/vlan-migration | |
parent | 4f5ccb4de32ae75233b97c8b599f965479c22066 (diff) |
all targets: use numerically prefixed uci-defaults file names to better control order of execution
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35217 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/uci-defaults/vlan-migration')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/vlan-migration | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/vlan-migration b/target/linux/ar71xx/base-files/etc/uci-defaults/vlan-migration deleted file mode 100755 index bea9493c8..000000000 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/vlan-migration +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh -# -# Copyright (C) 2010 OpenWrt.org -# - -local dev="$(uci -q get network.@switch_vlan[0].device)" -local 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 |