shell script used by troubleshooter.