Currently I have in my params: CGCOIF=$(ssh root@gw "/sbin/uci -p /var/state get network.wan0.ifname") IGSIF=$(ssh root@gw "/sbin/uci -p /var/state get network.wan1.ifname") PPPEIF=$(ssh root@gw "/sbin/uci -p /var/state get network.pppoe_ether.device") CGCO_GATEWAY=$(ssh root@gw "/sbin/uci -p /var/state get network.wan0.gateway") IGS_GATEWAY=$(ssh root@gw "/sbin/uci -p /var/state get network.wan1.gateway") IGS_ADDRESS=$(ssh root@gw "/sbin/uci -p /var/state get network.wan1.ipaddr")
Which is a whole lotta round trips all requiring their own crypto authentication, etc. I wonder if there is an available hook that I could use to go fetch all of that in a single round-trip (i.e. and store it locally and then source that local file for the values). I suppose if params is just sourced and executed sh script I could just do the single execution and use the result. I'm not sure that it is though. Thoughts? b.
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
