From: Tom E. <te...@sh...> - 2007-02-02 21:07:36
|
Tom Eastep wrote: > If you need to set an address in /etc/shorewall/params, here's a trick:= >=20 > if [ $HOSTNAME =3D remote ]; then > ADDR=3D$(find_first_interface_address eth1) > else > ADDR=3D$(ssh root@remote "shorewall-lite call find_first_interface_= address > eth1") > fi Please disregard -- the above works from the command line but not in /etc/shorewall/params. -Tom --=20 Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ te...@sh... PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key |