package/lua: implement memory limits, scripts can use get_memory_limit() and set_memo...
[openwrt.git] / package / swconfig / files / switch.sh
1 #!/bin/sh
2 # Copyright (C) 2009 OpenWrt.org
3
4 setup_switch_dev() {
5 swconfig dev "$1" load network
6 }
7
8 setup_switch() {
9 config_load network
10 config_foreach setup_switch_dev switch
11 }
This page took 0.039048 seconds and 5 git commands to generate.