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
This commit is contained in:
parent
becac1abaf
commit
f234cd7e67
1 changed files with 11 additions and 0 deletions
11
network/services/ppp/patches/510-fix-modprobe.patch
Normal file
11
network/services/ppp/patches/510-fix-modprobe.patch
Normal file
|
@ -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();
|
Loading…
Reference in a new issue