aboutsummaryrefslogtreecommitdiffstats
path: root/package/swconfig/files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2012-10-17 22:45:58 +0000
committerJohn Crispin <john@openwrt.org>2012-10-17 22:45:58 +0000
commita34499e09569241a21203c1327f3bfa8a888584f (patch)
tree9365698437d0b2ef8cfe715d9c9e8d5434d63353 /package/swconfig/files
parent965710d3e17738006bb22f01584cfe56319ceac1 (diff)
downloadupstream-a34499e09569241a21203c1327f3bfa8a888584f.tar.gz
upstream-a34499e09569241a21203c1327f3bfa8a888584f.tar.bz2
upstream-a34499e09569241a21203c1327f3bfa8a888584f.zip
move lots of kernel related packages to the new system/ folder
SVN-Revision: 33830
Diffstat (limited to 'package/swconfig/files')
-rw-r--r--package/swconfig/files/switch.sh14
1 files changed, 0 insertions, 14 deletions
diff --git a/package/swconfig/files/switch.sh b/package/swconfig/files/switch.sh
deleted file mode 100644
index 18d5fbd2c3..0000000000
--- a/package/swconfig/files/switch.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-# Copyright (C) 2009 OpenWrt.org
-
-setup_switch_dev() {
- config_get name "$1" name
- name="${name:-$1}"
- [ -d "/sys/class/net/$name" ] && ifconfig "$name" up
- swconfig dev "$name" load network
-}
-
-setup_switch() {
- config_load network
- config_foreach setup_switch_dev switch
-}