aboutsummaryrefslogtreecommitdiff
path: root/net/pppoa
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>2002-06-25 08:30:02 +0000
committerBrian Somers <brian@FreeBSD.org>2002-06-25 08:30:02 +0000
commit79b8bb0110b2863c2f4c1c653a42224fd888af15 (patch)
treecf04a4da7e4d3f29b13e646f612a2a794138a600 /net/pppoa
parentc647686b4d18e93594e617e0219be028269a9529 (diff)
downloadports-79b8bb0110b2863c2f4c1c653a42224fd888af15.tar.gz
ports-79b8bb0110b2863c2f4c1c653a42224fd888af15.zip
Notes
Diffstat (limited to 'net/pppoa')
-rw-r--r--net/pppoa/files/patch-aa19
1 files changed, 16 insertions, 3 deletions
diff --git a/net/pppoa/files/patch-aa b/net/pppoa/files/patch-aa
index 863fd7c5ae89..657592f225fd 100644
--- a/net/pppoa/files/patch-aa
+++ b/net/pppoa/files/patch-aa
@@ -1,6 +1,6 @@
---- doc-bsd/adsl.sh.sample.orig Tue Dec 11 16:25:52 2001
-+++ doc-bsd/adsl.sh.sample Sat Jan 5 18:00:31 2002
-@@ -1,7 +1,7 @@
+--- doc-bsd/adsl.sh.sample.orig Sat Jun 1 00:34:26 2002
++++ doc-bsd/adsl.sh.sample Tue Jun 25 09:25:51 2002
+@@ -1,18 +1,18 @@
#!/bin/sh
ISP=adsl
@@ -9,3 +9,16 @@
if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then
echo "$0: Cannot determine the PREFIX" >&2
+ exit 1
+ fi
+
+-PATH=$PATH:$PREFIX/bin
++PATH="$PATH:$PREFIX/bin"
+
+ case $1 in
+ start)
+- modem_run -f $PREFIX/libdata/mgmt.o \
++ "$PREFIX/sbin/modem_run" -f "$PREFIX/libdata/mgmt.o" \
+ && ppp -quiet -$MODE $ISP \
+ && echo -n ' ppp'
+ ;;