21 lines
1.0 KiB
Diff
21 lines
1.0 KiB
Diff
diff -Nru rp-pppoe-3.8.orig/scripts/pppoe-connect.in rp-pppoe-3.8/scripts/pppoe-connect.in
|
|
--- rp-pppoe-3.8.orig/scripts/pppoe-connect.in 2007-10-30 02:39:56.000000000 +0100
|
|
+++ rp-pppoe-3.8/scripts/pppoe-connect.in 2007-10-30 03:05:43.000000000 +0100
|
|
@@ -214,8 +214,15 @@
|
|
DEFAULTROUTE=""
|
|
fi
|
|
|
|
+
|
|
+if test "$LOGFILE" != "" ; then
|
|
+ LOGFILE="logfile $LOGFILE"
|
|
+else
|
|
+ LOGFILE="logfile /var/log/pppd.log"
|
|
+fi
|
|
+
|
|
# Standard PPP options we always use
|
|
-PPP_STD_OPTIONS="$PLUGIN_OPTS noipdefault noauth default-asyncmap $DEFAULTROUTE hide-password nodetach $PEERDNS mtu 1492 mru 1492 noaccomp nodeflate nopcomp novj novjccomp user $USER lcp-echo-interval $LCP_INTERVAL lcp-echo-failure $LCP_FAILURE $PPPD_EXTRA"
|
|
+PPP_STD_OPTIONS="$PLUGIN_OPTS noipdefault noauth default-asyncmap $DEFAULTROUTE hide-password nodetach $PEERDNS mtu 1492 mru 1492 noaccomp nodeflate nopcomp novj novjccomp user $USER lcp-echo-interval $LCP_INTERVAL lcp-echo-failure $LCP_FAILURE $PPPD_EXTRA $LOGFILE"
|
|
|
|
# Jigger DNS if required...
|
|
if test "$DNSTYPE" = "SPECIFY" ; then
|