summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/switch/Makefile4
-rw-r--r--package/switch/files/switch.sh1
2 files changed, 3 insertions, 2 deletions
diff --git a/package/switch/Makefile b/package/switch/Makefile
index 364416d..2b036b0 100644
--- a/package/switch/Makefile
+++ b/package/switch/Makefile
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2006-2011 OpenWrt.org
+# Copyright (C) 2006-2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=kmod-switch
-PKG_RELEASE:=4
+PKG_RELEASE:=5
include $(INCLUDE_DIR)/package.mk
diff --git a/package/switch/files/switch.sh b/package/switch/files/switch.sh
index 6517ca9..2563d41 100644
--- a/package/switch/files/switch.sh
+++ b/package/switch/files/switch.sh
@@ -11,6 +11,7 @@ setup_switch_hw() {
local proc="/proc/switch/$dev"
[ -d "$proc" ] && {
+ ifconfig "$dev" up
echo "$reset" > "$proc/reset"
echo "$evlan" > "$proc/enable_vlan"
[ -f "$proc/enable" ] && echo "$enable" > "$proc/enable"