diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-10-20 17:56:29 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-10-20 17:56:29 +0000 |
commit | 93a0a1bfeaffaf8f3e135842a6ed0b0868852f9a (patch) | |
tree | f8dab4ecff5a014aebb657cd189b4841eb9fb800 /package/ppp/files | |
parent | 900d12acb7c8deddd0596cbf84453c8e937ed888 (diff) | |
download | master-187ad058-93a0a1bfeaffaf8f3e135842a6ed0b0868852f9a.tar.gz master-187ad058-93a0a1bfeaffaf8f3e135842a6ed0b0868852f9a.tar.bz2 master-187ad058-93a0a1bfeaffaf8f3e135842a6ed0b0868852f9a.zip |
[package] pppd: use "atmdev" option to select the DSL adapter, this aligns it with br2684ctl and solves #8108
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23551 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ppp/files')
-rw-r--r-- | package/ppp/files/pppoa.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package/ppp/files/pppoa.sh b/package/ppp/files/pppoa.sh index 59e35c2dca..df947aa83d 100644 --- a/package/ppp/files/pppoa.sh +++ b/package/ppp/files/pppoa.sh @@ -9,8 +9,8 @@ stop_interface_pppoa() { setup_interface_pppoa() { local config="$2" - local device - config_get device "$config" device + local atmdev + config_get atmdev "$config" atmdev local vpi config_get vpi "$config" vpi @@ -34,6 +34,6 @@ setup_interface_pppoa() { config_get mtu "$config" mtu start_pppd "$config" \ - plugin pppoatm.so ${device:+$device.}${vpi:-8}.${vci:-35} \ + plugin pppoatm.so ${atmdev:+$atmdev.}${vpi:-8}.${vci:-35} \ ${encaps} ${mtu:+mtu $mtu mru $mtu} } |