Using MYADDR as an argument in ppp.linkup
brian at freebsd-services.com
Thu Oct 11 08:49:44 BST 2001
> > > Does anyone know what I'm doing wrong?
> > Do you get anything in the logs? if not, adding:
> Yes, I'm already logging this. I just get the output of the command
> above, without MYADDR substituted. For example:
> Oct 10 17:15:17 tomtest ppp: Command: ntlworld: !bg
> /usr/local/sbin/ddclient -daemon=0 -syslog -use=ip ip=MYADDR
Bear in mind that the substitution is done *after* the command is
logged, so the above looks correct.
You could try adding
!bg sh -c "/bin/echo \\\\MYADDR=\"MYADDR\" >/tmp/x"
just as a proof of concept....
Brian <brian at freebsd-services.com> <brian at Awfulhak.org>
Don't _EVER_ lose your sense of humour ! <brian@[uk.]OpenBSD.org>
More information about the Ukfreebsd