Re: 2 lines

2013-07-29 Thread lconrad
On Monday 29/07/2013 at 8:14 am, "Zyumbilev, Peter" wrote: Hi, I have 2 fiber lines and using pfsense(freebsd) I can easily use them for backup of LAN --> Internet traffic i.e when primary is down, second line kick in automatically. However when one line is down all connections Internet

Bourne shell "if" syntax

2013-06-10 Thread lconrad
script fragment: PTR=`dig @some.dns +short +norec -x a.b.c.d` echo "$PTR" if [ "$PTR" == "" ] ; then echo "$PTR" >> /path/to/PTR_absent.txt fi === output for an IP: a-b-c-d.domain.net. [: a-b-c-d.domain.net.: unexpected operator thanks Len _

PERL problem installing SQLgrey

2013-02-20 Thread lconrad
freebsd 9.0 portsnap fetch update ... completed successfully cd /usr/ports/mail/sqlgrey make install ===> Installing for sqlgrey-1.8.0 ===> sqlgrey-1.8.0 depends on package: p5-Net-Server>=0 - found ===> sqlgrey-1.8.0 depends on package: p5-IO-Multiplex>=0 - found ===> sqlgrey-1.8.0