Put in better method of checking whether or not daemon over --rsh mode is