diff options
author | Brian Somers <brian@FreeBSD.org> | 2001-08-31 08:04:22 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 2001-08-31 08:04:22 +0000 |
commit | 40d940448742f76b8c1e88d547d05f450ccddb7d (patch) | |
tree | ffdb947d0623629087ae07eb733934878ffe976b /net/pppoa | |
parent | 3dbd891220f9614df4f6df859f7afc5c9baac939 (diff) | |
download | ports-40d940448742f76b8c1e88d547d05f450ccddb7d.tar.gz ports-40d940448742f76b8c1e88d547d05f450ccddb7d.zip |
Notes
Diffstat (limited to 'net/pppoa')
-rw-r--r-- | net/pppoa/files/patch-aa | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/net/pppoa/files/patch-aa b/net/pppoa/files/patch-aa new file mode 100644 index 000000000000..76f9ed1613b0 --- /dev/null +++ b/net/pppoa/files/patch-aa @@ -0,0 +1,18 @@ +--- doc-bsd/adsl.sh.sample.orig Tue Aug 14 22:15:19 2001 ++++ doc-bsd/adsl.sh.sample Fri Aug 31 09:01:15 2001 +@@ -1,3 +1,15 @@ ++#! /bin/sh ++ ++prog=$(realpath $0) || exit 1 ++dir=${prog%/*} ++PREFIX=${dir%/etc/rc.d} ++ ++if [ ."$dir" = ."$prog" -o ."$PREFIX" = ."$dir" ] ++then ++ echo "$0: Cannot determine the PREFIX" >&2 ++ exit 1 ++fi ++ + ISP=adsl + PATH=$PATH:$PREFIX/bin + |