summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorsimonb <simonb@pkgsrc.org>2003-01-23 01:35:51 +0000
committersimonb <simonb@pkgsrc.org>2003-01-23 01:35:51 +0000
commit55805f453af1c4e44d31f4d6f7a9456911e9d41f (patch)
treece3f433454d12ea23e5c22938b191ca966b6908d /net
parente69875050d72aa05fdd9a784bedf457584c4316e (diff)
downloadpkgsrc-55805f453af1c4e44d31f4d6f7a9456911e9d41f.tar.gz
Set the CONFIG variable to the config filename; stops an annoying
"usage: basename string [suffix]" error whenever this script is called.
Diffstat (limited to 'net')
-rwxr-xr-xnet/rp-pppoe/files/pppoe.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/rp-pppoe/files/pppoe.sh b/net/rp-pppoe/files/pppoe.sh
index c25ab62c743..c01921daf39 100755
--- a/net/rp-pppoe/files/pppoe.sh
+++ b/net/rp-pppoe/files/pppoe.sh
@@ -1,11 +1,12 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: pppoe.sh,v 1.2 2003/01/16 09:28:01 grant Exp $
+# $NetBSD: pppoe.sh,v 1.3 2003/01/23 01:35:51 simonb Exp $
#
# PROVIDE: pppoe
# REQUIRE: ipnat
test -f /etc/ppp/pppoe.conf || exit 1
+CONFIG=/etc/ppp/pppoe.conf
case $1 in
start)