diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-01-17 00:14:18 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-01-17 00:14:18 +0000 |
commit | 5cf136ae0eed9dc82548f736b47e5d128c5f438e (patch) | |
tree | 68ff80f541e175e01431b48d407575716807fab7 /package/ppp/files | |
parent | bad3c4865d0302a10266105bac43af44dd926382 (diff) | |
download | mtk-20170518-5cf136ae0eed9dc82548f736b47e5d128c5f438e.zip mtk-20170518-5cf136ae0eed9dc82548f736b47e5d128c5f438e.tar.gz mtk-20170518-5cf136ae0eed9dc82548f736b47e5d128c5f438e.tar.bz2 |
ppp: synthesize a .device option to make ifup work on pppoa interfaces again
SVN-Revision: 25025
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 df947aa..c64e809 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" } |