Hello all.
I am in the process of moving a script over from Linux to FreeBSD and encountered issues with the below array:
It seems BSD requires double quotes enclosing the string after the equal sign, however the needed double quotes around the nameserver values are of course causing issues. I tried \" and \' etc... but no go (likely due to the required backslash at the end of each nameserver line):
Any thoughts on how I can get around this?
I am in the process of moving a script over from Linux to FreeBSD and encountered issues with the below array:
Code:
DNS_SLAVE_ARRAY=(
"example1.lab.com" \
"example2.lab.com" \
)
Code:
DNS_SLAVE_ARRAY"=(
"ns1example.lab.com" \
"ns2example.lab.com" \
)"
Any thoughts on how I can get around this?