mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 09:12:39 +00:00
59a06c71cb
SVN-Revision: 5622
12 lines
181 B
Bash
Executable File
12 lines
181 B
Bash
Executable File
#!/bin/sh
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
. /sbin/ifdown "$@"
|
|
|
|
config_get iftype "$1" type
|
|
config_get ifname "$1" device
|
|
|
|
for dev in $ifname; do
|
|
setup_interface "$dev" "$1"
|
|
done
|