interesting. what versions of ssh and solaris are in use here?

I would use the `param = 'UNSET'` pattern and in the template

if param != 'UNSET' then have the variable