summaryrefslogtreecommitdiff
path: root/package/ppp/files
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-10-09 12:35:31 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-10-09 12:35:31 +0000
commit564ea3531fda823c933161fd0dc18c7b4d26bf99 (patch)
treecd04331e4614ba779e92e7295c0d8f5eeda1e10c /package/ppp/files
parent2f1f57762eebd54951e731e6d34392c61f19a1be (diff)
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/files')
-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"
}