diff options
author | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-01-17 00:14:18 +0000 |
---|---|---|
committer | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-01-17 00:14:18 +0000 |
commit | b6e32f4a5808ab79e81ea35fd0f05d48c10636a0 (patch) | |
tree | b11fd6a4b6aaefea736bae9d107f7e2ece5ec31a /package/ppp/files | |
parent | 1630b3829de9aa869992aa747c28d65a2fca31c2 (diff) |
[package] ppp: synthesize a .device option to make ifup work on pppoa interfaces again
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25025 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ppp/files')
-rw-r--r-- | package/ppp/files/pppoa.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/ppp/files/pppoa.sh b/package/ppp/files/pppoa.sh index df947aa83..c64e809de 100644 --- a/package/ppp/files/pppoa.sh +++ b/package/ppp/files/pppoa.sh @@ -1,3 +1,7 @@ +scan_pppoa() { + config_set "$1" device "pppoa-$1" +} + coldplug_interface_pppoa() { setup_interface_pppoa x "$1" } |