diff options
author | John Crispin <john@openwrt.org> | 2013-11-11 13:40:28 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2013-11-11 13:40:28 +0000 |
commit | f48568af8ecad6f1ecae0281d2d43e7a4f1878a6 (patch) | |
tree | 7094953f794d83e845f91416f0134fa2e3b47bb8 /package | |
parent | 20ac13adc129489645be4a688fe4a4c2701bb5be (diff) | |
download | mtk-20170518-f48568af8ecad6f1ecae0281d2d43e7a4f1878a6.zip mtk-20170518-f48568af8ecad6f1ecae0281d2d43e7a4f1878a6.tar.gz mtk-20170518-f48568af8ecad6f1ecae0281d2d43e7a4f1878a6.tar.bz2 |
pppd: don't call modprobe at all from pppoatm
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38737
Diffstat (limited to 'package')
-rw-r--r-- | package/network/services/ppp/patches/406-no_modprobe.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/package/network/services/ppp/patches/406-no_modprobe.patch b/package/network/services/ppp/patches/406-no_modprobe.patch new file mode 100644 index 0000000..149d673 --- /dev/null +++ b/package/network/services/ppp/patches/406-no_modprobe.patch @@ -0,0 +1,13 @@ +Index: ppp-2.4.5/pppd/plugins/pppoatm/pppoatm.c +=================================================================== +--- ppp-2.4.5.orig/pppd/plugins/pppoatm/pppoatm.c 2013-11-11 14:36:41.708298496 +0100 ++++ ppp-2.4.5/pppd/plugins/pppoatm/pppoatm.c 2013-11-11 14:39:03.556301877 +0100 +@@ -133,8 +133,6 @@ + int fd; + struct atm_qos qos; + +- system ("/sbin/modprobe -q pppoatm"); +- + if (!device_got_set) + no_device_given_pppoatm(); + fd = socket(AF_ATMPVC, SOCK_DGRAM, 0); |