This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

confd-client.plx - making array changes

I'm trying to do something similar to this thread.  However, under 9.x I can't seem to modify an array.  I'm guessing this is because the commandline args are always passed in as strings?

Any suggestions?

Thanks!

Jeff

https://community.sophos.com/products/unified-threat-management/astaroorg/f/51/t/20047


This thread was automatically locked due to age.
  • Hi, Jeff, and welcome to the User BB!

    You can really muck things up with an error here.  What is it that you want to add to which array?

    Cheers - Bob
  • Basically something similar to what is done via cc interactive:

    cc
     webadmin
     allowed_networks@
     + REF_NetworkAny

    But do it from without making it interactive.

    I would like to build some standard condiguration scripts.  I'm doing this is a lab so I'm not too concerned about making a mess (virtual machine w/ snapshots).

    I used to be pretty good with perl and I have tried a number of convention and I can't get the array to update.  So... this many just be an exercise in academia for me [:)]