mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-30 22:29:43 +02:00
ef0a8980a2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15328 3c298f89-4303-0410-b956-a3cf2f4a3e73
12 lines
180 B
Bash
12 lines
180 B
Bash
#!/bin/sh
|
|
# Copyright (C) 2009 OpenWrt.org
|
|
|
|
setup_switch_dev() {
|
|
swconfig dev "$1" load network
|
|
}
|
|
|
|
setup_switch() {
|
|
config_load network
|
|
config_foreach setup_switch_dev switch
|
|
}
|