Subject: Re: usepeerdns
To: None <>
From: Georges Heinesch <>
List: netbsd-users
Date: 06/09/2001 10:20:00
Quoting Andrew Brown (30-May-01 00:16:40):

>>However the scripts (/etc/ppp/ip-up and ip-down) are still not
>>executed. I inserted a copy command and several other commands (not
>>linked to stdin or stdout). Nothing was executed.
>>----- /etc/ppp/ip-up
>>cp ~/grap.jpg ~/test.jpg
>>This was simply for testing purpose. Neither xlupoe was started, nor
>>was the file ~/grap.jpg copied. Filebits are 755, the useris root.
>>Why do the scripts not run when pppd is started/stopped?

> try changing the #~ to #! and then try changing the ~/ bits to
> specific paths.  ~/ is evaluated to the value of the HOME
> environment variable which is probably not set to anything when the
> script is run by pppd.

Arghh ... typo. Thanks!

Cu  Georges Heinesch, Luxembourg
    PGP RSA & DH/DSS public key on request and on public servers

... ELLX