Add Split DNS support under Darwin/OS X
Remove -x to sh. Rename variable to reflect function since we are not touching /etc/resolv.conf on recent Darwin/OS X anymore.