diff options
author | Brian Somers <brian@FreeBSD.org> | 2002-06-25 08:30:02 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 2002-06-25 08:30:02 +0000 |
commit | 79b8bb0110b2863c2f4c1c653a42224fd888af15 (patch) | |
tree | cf04a4da7e4d3f29b13e646f612a2a794138a600 /net/pppoa | |
parent | upgrade to 5.9.2 (diff) |
Run modem_run with a full path
Quote $PREFIX
Notes
Notes:
svn path=/head/; revision=61917
Diffstat (limited to 'net/pppoa')
-rw-r--r-- | net/pppoa/files/patch-aa | 19 |
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' + ;; |