projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[package] base-files: fix error reporting for unsupported protocols on virtual interfaces
[openwrt/svn-archive/archive.git]
/
package
/
base-files
/
files
/
sbin
/
ifup
diff --git
a/package/base-files/files/sbin/ifup
b/package/base-files/files/sbin/ifup
index 96f7bea3576d9f4dec98bb6b7e98beb99a825753..6acd2ed09978276636c6a1a27f27453d67b701b5 100755
(executable)
--- a/
package/base-files/files/sbin/ifup
+++ b/
package/base-files/files/sbin/ifup
@@
-1,5
+1,5
@@
#!/bin/sh
-# Copyright (C) 2006 OpenWrt.org
+# Copyright (C) 2006
-2011
OpenWrt.org
/sbin/ifdown "$@"
@@
-18,6
+18,6
@@
include /lib/network
scan_interfaces
config_get ifname "$1" device
-for dev in $
ifname
; do
+for dev in $
{ifname:-$1}
; do
setup_interface "$dev" "$1"
done