#! /bin/sh

Comment "Configuring the generic internal NQS library."

##########################################################################
Comment "Installation directories."

Comment "The directories used by NQS can be split into two groups."\
        "This group holds compiled binaries, and all the directories"\
	"in this group can be shared between machines of the same"\
	"architecture using NFS or equivalent."

String "Where do you want to install the compiled NQS components?" CONFIG_NQS_ROOT "/usr/local"
String "Where do you want to install the software for use by normal users?" CONFIG_NQS_BINEXE "${CONFIG_NQS_ROOT}/bin"
String "Where do you want to install the NQS daemon software and sysadmin utilities?" CONFIG_NQS_LIBEXE "${CONFIG_NQS_ROOT}/sbin"
String "Where do you want to install the nmap machine database?" CONFIG_NQS_NMAP "${CONFIG_NQS_ROOT}/lib/nmap"

Comment "This group of directories hold runtime information, such as lists"\
        "of requests waiting to be run, and directories in this group CANNOT"\
	"be shared between machines.  You can place these directories on"\
	"NFS volumes."

String "Where can NQS put its spool space?" CONFIG_NQS_SPOOL "/usr/spool/nqs-3.50"

Define NQS_HOME "\"/etc\""

##########################################################################
Comment "Debugging support."

Comment "NQS now has even more extensive support for runtime debugging."\
	""\
	"The following levels are supported :"\
	""\
	"    0: Fatal errors and notice messages only."\
	"    1: 0 plus function traces of any fatal errors."\
	"    2: 1 plus high priority debugging messages."\
	"    3: 2 plus medium priority debugging messages."\
	"    4: 3 plus low priority debugging messages."\
	"    5: 4 plus TRACE messages."\
	"    6: 5 plus function traces of high priority debugging messages."\
	"    7: 6 plus function traces of medium priority debugging messages."\
	"    8: 7 plus function traces of low priority debugging messages."\
	"    9: 8 plus function traces of TRACE messages & notice messages."\
				      
Integer "Which level of debugging would you like by default? [0-9]" CONFIG_DEFAULT_DEBUG 2

Comment "Monsanto-NQS now uses the syslogd(8) daemon for logging messages." \
	"" \
	"syslogd(8) can be configured to send messages from different facilities" \
	"to different places.  Monsanto-NQS can be configured to be any of the" \
	"facilities LOCAL0-7.  We STRONGLY recommend that you configure syslogd" \
	"so that messages from Monsanto-NQS are stored in a separate file from" \
	"messages from other facilities; this will assist in any debugging."
	
Integer "Which syslogd local facility (LOG_LOCAL0-LOG_LOCAL7) should Monsanto-NQS use?" CONFIG_SYSLOG_FACILITY LOG_LOCAL0
##########################################################################
