On 5/7/11 7:45 AM, Sebastian Tänzer wrote:
> prog.header gives me no errors.
>
> the ip command evokes the error:
>
> firewall:/usr/share/shorewall# ip -4 route ls | save_default_route
> awk: BEGIN {default=0;}; \
> awk: ^ syntax error
> awk: Kommandozeile:1: /^default / {default=1; print; next}; \
> awk: Kommandozeile:1: ^ syntax error
> awk: Kommandozeile:2: /nexthop/ {if (default == 1 ) {print ; next} };
> \
> awk: Kommandozeile:2: ^ syntax error
> awk: Kommandozeile:3: { default=0; };
> awk: Kommandozeile:3: ^ syntax error
>
> any ideas what I messed up?
> What shell do you have installed as /bin/sh? Also, does 'which awk' return /usr/bin/awk? -Tom -- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
