From ea97a624211caa3215a05b8c4686dbd61f76bb30 Mon Sep 17 00:00:00 2001 From: simonb Date: Thu, 23 Jan 2003 01:35:51 +0000 Subject: Set the CONFIG variable to the config filename; stops an annoying "usage: basename string [suffix]" error whenever this script is called. --- net/rp-pppoe/files/pppoe.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'net') 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) -- cgit v1.2.3