Set narport file based on OS.