[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ppp.linkup
On Mon, Mar 04, 2002 at 08:35:36PM +0100, Lionel wrote:
> On Mon, 2002-03-04 at 20:13, A. Farber wrote:
> > MYADDR:
> > bg /sbin/pfctl -R /etc/pf.conf -N /etc/nat.conf -e
> >
> > MYADDR:
> > shell /sbin/pfctl -R /etc/pf.conf -N /etc/nat.conf -e
> You can use this...it work fine !!! But be careful with spaces :
Why starting a second shell with "sh -c"? The above works fine for me.
> bash-2.05# more /etc/ppp/ppp.linkup
> MYADDR:
> ! sh -c "/sbin/ifconfig pflog0 up"
> ! sh -c "/sbin/pfctl -e -l tun0 -F all -O aggressive -R /etc/pf.conf"
> ! sh -c "/sbin/pfctl -N /etc/nat.conf"