-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 10/10/2016 08:48 AM, Vieri Di Paola wrote: > Hi, > > Is there a way to pass variables defined in "params" to the child > processes spawned by SHELL or BEGIN SHELL? > > I'd like to read a variable set in "params" within "SHELL". >
Yes -- just export those variables in your 'init' extension script. - -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 \________________________________________________ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: GPGTools - http://gpgtools.org iQIcBAEBCAAGBQJX+7/YAAoJEJbms/JCOk0QxPsQAIzSH0xCXmLRjR0w+EEtwjuR HDjS1xUggv5MPYfRqwmoDmypz8e1JH0EsBxaYHrcfuTOZ1zQmmAAzJWdFvu3ivbz lsKGgimen6aECGGhp2SM3oJMjHQ6IvhUczJGd435e3JApvxQswjIcplCwWram9MD 1PI0O07CIg2NgG0IOjbdOFtqOy2/MuIg4cDdJtUeqIPK+6xMOTACqRBJfoBkBtAR Sz9vjw9TRu1l3SYZQFyNr7CLKGvmKXxPArytcrjumR4LoyIkuBY/h1+XCUzVBKNy zhcuG02u3rPNWEwJB7Us8/Q+BLKEBHwKUTlEph57l+2YlOrivqkH2b2q3DlS62qN sgfev+Htk2dz11bRkPY/dwBVMDlK5XAVgH+hfYrGH+CW0pnqy1GRA/AFRd2rGlDt +LeaG9gpnQpJ3sRQrx4FOYZLdbo0brHPZBa+LQ6mHVOVdIB2CgI5rZWqtF08LXFU K83v3t6taCByHarVov4zMDZzCOnDlClCWjELSrvZFi4JDuuJOranRAGOUM0p4HSU cwzvpo7mndG726dZ05NJ/0G+8hbpNef0uRHiHhdlkqke1XHXqw3J2iyi5TZXCL/L RO8BFFVa9YtiLwsBCUkH02xDuHJHewhGuIoNKSQRH25DhKZhlr3jC07cBgUIHJZ4 Yy5vRJiVtdZ/COH5z4dQ =lMVk -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
