Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 May 2001 18:07:38 -0700
From:      William Richard <wdr@tdl.com>
To:        "G. Adam Stanislav" <adam@whizkidtech.net>, freebsd-questions@freebsd.org
Subject:   Re: Bizarre shutdown behavior
Message-ID:  <01052718073801.01315@saffron>
In-Reply-To: <20010526232053.A279@whizkidtech.net>
References:  <20010526192545.A275@whizkidtech.net> <20010526232053.A279@whizkidtech.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> I found what was causing it. I had a "ppp" command in
> /usr/local/etc/rc.d/start.sh . This was the right thing in 3.1,
> but not quite in 4.3.
>
> The problem disappeared when I wrapped it inside a case statement:
>
> 	case "$1" in
> 	start)
> 	ppp -auto myisp
> 	esac

You can do this programmatically with options in /etc/rc.conf:

ppp_enable="YES"
ppp_mode="auto"
ppp_profile="myisp"

will start ppp automagically.  See rc.conf(5) for more /etc/rc.conf wizardry.

-- 
Cheers,
William Richard
wdr@tdl.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01052718073801.01315>