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:
629f4db
)
use <name>_device instead of <proto>_ifname
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 29 Mar 2006 15:24:47 +0000
(15:24 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 29 Mar 2006 15:24:47 +0000
(15:24 +0000)
SVN-Revision: 3550
openwrt/package/base-files/default/etc/functions.sh
patch
|
blob
|
history
diff --git
a/openwrt/package/base-files/default/etc/functions.sh
b/openwrt/package/base-files/default/etc/functions.sh
index d9ffc722f781d884d3be01b91d307e00609c0fd0..fd0ce0e31ba10914a9dd48cb1c0ff7de10bb8418 100755
(executable)
--- a/
openwrt/package/base-files/default/etc/functions.sh
+++ b/
openwrt/package/base-files/default/etc/functions.sh
@@
-26,7
+26,7
@@
if_valid () (
do_ifup() {
if_proto=$(nvram get ${2}_proto)
if=$(nvram get ${2}_ifname)
- [ "${if%%[0-9]}" = "ppp" ] && if=$(nvram get ${
if_proto}_ifnam
e)
+ [ "${if%%[0-9]}" = "ppp" ] && if=$(nvram get ${
2}_devic
e)
pidfile=/var/run/${if}.pid
[ -f $pidfile ] && $DEBUG kill $(cat $pidfile)