To add a new problem to an existing troubleshooting script:

	1.  Write a function invoking the problem and place it in
	    the appropriate file under:

	    	/usr/local/lib/ts/problems/<type>

	    where <type> is the name of the ts<type> command that invokes
		the problem. 
	    The function name should follow the format:
	    
		problem-<type>

	    For example. if you were to add a local
	    problem, you would place this in the file:

	    	problem-<type>() {
			<shell script with new problem>

			instructions "problem instructions"
		}

	    Per the example, be sure to call the "instructions"
	    function to explain the problem to the user.

	2.  Place hints in the hints file.  In the current
	    example, that would be:

		/usr/local/lib/ts/hints/<type>

	    Follow the name and numbering scheme in this file.
	    For example:

		hint-<type>.1() {
		cat << EOF
			Text of first hint.

		EOF
		}

		hint-<type>.2() {
		cat << EOF
			Text of second hint.

		EOF
		}

	    And so on.

	3.  Write a method for researching the problem and the
	    lessons learned.  Place these in the appropriate
	    file, which, in our example, would be:

	    	/usr/local/lib/ts/lessons/<type>

	    Follow the name and numbering scheme and the format.
	    For example:

		lesson-<type>() {
		cat << EOF
			Description of method for solving problem.

			Lessons:

				o  Bulletted list
				o  of lessons
        		
		EOF
		}
	
	4.	Create a symbolic link in /usr/local/bin named ts<type>
		pointed to /usr/local/lib/ts/tsproblem.

Done!

Ralph Rodriguez
Sun Dec  1 18:17:27 MST 2002

Updated by Brad Smith
Tue Oct 23 2007

Updated by Rob Locke
Mon Jun 15 2009

