]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Fix creation of run dirs of ppp.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 7 Aug 2009 16:03:44 +0000 (18:03 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 7 Aug 2009 16:03:44 +0000 (18:03 +0200)
lfs/ppp

diff --git a/lfs/ppp b/lfs/ppp
index 918f36a9457a9447f1bbfd8ad698ab84d8c6b8ad..325fba287b36e0ea6f06cbd1a9e2aa1f9b2066ca 100644 (file)
--- a/lfs/ppp
+++ b/lfs/ppp
@@ -116,6 +116,10 @@ $(OBJECT): $(objects)
        cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-new_speeds.patch
        cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-response_len.patch
 
+       cd $(DIR_APP) && sed -e "s@^RUNDIR .*@RUNDIR = /var/run/ppp@" \
+                       -e "s@^LOGDIR .*@LOGDIR = /var/log/ppp@" \
+                       -i linux/Makefile.top
+
        cd $(DIR_APP) && \
                ./configure \
                        $(CONFIGURE_ARCH) \