aboutsummaryrefslogtreecommitdiffstats
path: root/package/ppp
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-10-09 12:35:31 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-10-09 12:35:31 +0000
commit2b68446157854a58f14e7bf76a1988d9d98c62bd (patch)
treecd04331e4614ba779e92e7295c0d8f5eeda1e10c /package/ppp
parent5797c34cf477d45cf842bbb32a5f70ddbde6d37c (diff)
downloadupstream-2b68446157854a58f14e7bf76a1988d9d98c62bd.tar.gz
upstream-2b68446157854a58f14e7bf76a1988d9d98c62bd.tar.bz2
upstream-2b68446157854a58f14e7bf76a1988d9d98c62bd.zip
save the real configured interface name in the 'device' variable when running scan_interfaces() - fixes pppoe problems
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4983 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ppp')
-rw-r--r--package/ppp/files/ppp.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/package/ppp/files/ppp.sh b/package/ppp/files/ppp.sh
index 51a19555e8..343223af1b 100644
--- a/package/ppp/files/ppp.sh
+++ b/package/ppp/files/ppp.sh
@@ -1,7 +1,6 @@
scan_ppp() {
config_get ifname "$1" ifname
pppdev="${pppdev:-0}"
- config_set "$1" device "$ifname"
config_set "$1" ifname "ppp$pppdev"
config_set "$1" unit "$pppdev"
}