projects
/
openwrt
/
svn-archive
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc6bfa2
)
don't try to change interface settings if <group>_proto is unset or 'none' (#504)
author
Felix Fietkau
<
[email protected]
>
Fri, 9 Jun 2006 02:17:20 +0000
(
02:17
+0000)
committer
Felix Fietkau
<
[email protected]
>
Fri, 9 Jun 2006 02:17:20 +0000
(
02:17
+0000)
SVN-Revision: 3924
openwrt/package/base-files/default/sbin/ifup
patch
|
blob
|
history
diff --git
a/openwrt/package/base-files/default/sbin/ifup
b/openwrt/package/base-files/default/sbin/ifup
index 686ef6496299b8b0f09727667dd9ae4966a9b31c..8bb56a5c5c29985076993b4a66d2233f868c024d 100755
(executable)
--- a/
openwrt/package/base-files/default/sbin/ifup
+++ b/
openwrt/package/base-files/default/sbin/ifup
@@
-5,6
+5,9
@@
type=$1
debug "### ifup $type ###"
if_proto=$(nvram get ${type}_proto)
+case "$if_proto" in
+ none|"")exit;;
+esac
if=$(nvram get ${type}_ifname)
[ "${if%%[0-9]}" = "ppp" ] && if=$(nvram get ${type}_device)