summaryrefslogtreecommitdiffstats
path: root/package/swconfig/files
diff options
context:
space:
mode:
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 18d5fbd2c..000000000
--- 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
-}