summaryrefslogtreecommitdiff
path: root/package/base-files/default/sbin/ifup
blob: 86d10d7ca3f96fd5e25f6bcec16d4ed139d6e051 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
# Copyright (C) 2006 OpenWrt.org

. /sbin/ifdown "$@"

config_get iftype "$1" type
config_get ifname "$1" ifname

for dev in $ifname; do
	setup_interface "$dev" "$1"
done