Subject: Re: Can't establish ADSL connection
To: Berndt Josef Wulf <wulf@ping.net.au>
From: Bang Jun-Young <bjy@mogua.org>
List: netbsd-help
Date: 11/23/2000 18:23:59
Berndt Josef Wulf wrote:
> Wouldn't it be better to insert a new case statement that specifically
> uses NetBSD?
>
> e.g.:
>
> NetBSD)
> VARRUN="/var/run"
> ;;
> *BSD)
> VARRUN="/etc/ppp"
> ;;
> *)
> VARRUN="/var/run"
> ;;
>
> This may be submitted to the author of this program for inclusion in
> any future releases.
There's no difference between variants of U*ix. Free/Open/NetBSD and even
Linux use the same pppd which always creates ppp?.pid files in /var/run.
So above case statement should't be there. And, even if pppd is allowed
to write to /etc/ppp, it's a wrong idea to create temporary files in the
directory in which configuration files are placed.
Thanks,
--
Bang Jun-Young <bjy@mogua.org>