aboutsummaryrefslogtreecommitdiffstats
path: root/network/services/ppp/patches/510-fix-modprobe.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-11-11 13:15:04 +0000
committerJohn Crispin <john@openwrt.org>2013-11-11 13:15:04 +0000
commitf234cd7e6720cb356bd62ceff2bb5523350a2b9b (patch)
tree14e9021d24b1b1321ce55ca4d66735e9a958aa19 /network/services/ppp/patches/510-fix-modprobe.patch
parentbecac1abaf1842afb58262ec0036d23f9095d710 (diff)
downloadupstream-f234cd7e6720cb356bd62ceff2bb5523350a2b9b.tar.gz
upstream-f234cd7e6720cb356bd62ceff2bb5523350a2b9b.tar.bz2
upstream-f234cd7e6720cb356bd62ceff2bb5523350a2b9b.zip
Fix modprobe path for pppoatm
Without netifd generates an error: daemon.notice netifd: wan (1249): /bin/sh: /sbin/modprobe: not found Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> SVN-Revision: 38732
Diffstat (limited to 'network/services/ppp/patches/510-fix-modprobe.patch')
-rw-r--r--network/services/ppp/patches/510-fix-modprobe.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/network/services/ppp/patches/510-fix-modprobe.patch b/network/services/ppp/patches/510-fix-modprobe.patch
new file mode 100644
index 0000000000..84e18b71e1
--- /dev/null
+++ b/network/services/ppp/patches/510-fix-modprobe.patch
@@ -0,0 +1,11 @@
+--- a/pppd/plugins/pppoatm/pppoatm.c.orig 2013-11-09 18:34:12.380820631 +0100
++++ b/pppd/plugins/pppoatm/pppoatm.c 2013-11-09 18:34:20.140820952 +0100
+@@ -133,7 +133,7 @@
+ int fd;
+ struct atm_qos qos;
+
+- system ("/sbin/modprobe -q pppoatm");
++ system ("/usr/sbin/modprobe pppoatm");
+
+ if (!device_got_set)
+ no_device_given_pppoatm();