I use a 'here' document in ksh to do what you want. You could use variables to pass IP address and zone name to the script. See the attachment.
--ron -- This message posted from opensolaris.org _______________________________________________ zones-discuss mailing list zones-discuss@opensolaris.org