diff options
author | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-11-11 13:15:04 +0000 |
---|---|---|
committer | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-11-11 13:15:04 +0000 |
commit | 94e44643a8ce1d7991376b6ced586784b3f92500 (patch) | |
tree | 0bce1693d4ffd8f0ec067b60574e085d47769dbb /network/services/ppp | |
parent | 909e901225bcd149dc341b1f1dc3b75bf76b8d2a (diff) |
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38732 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'network/services/ppp')
-rw-r--r-- | network/services/ppp/patches/510-fix-modprobe.patch | 11 |
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(); |